Skip to content

btrfs-progs: Small fixes for code using strdup()

Byongho Lee linux-btrfs 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3btrfs-progs: fix memory leak in btrfs-convert main()btrfs-convert.c+5 -41 reply
2/3btrfs-progs: fix memory leak in btrfs-map-logical main()btrfs-map-logical.c+2 -01 reply
3/3btrfs-progs: add memory allocation fail check in btrfs_add_to_fsid()utils.c+12 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] btrfs-progs: Small fixes for code using strdup()

1. fix memory leak in btrfs-convert main()
2. fix memory leak in btrfs-map-logical main()
3. add memory allocation fail check in btrfs_add_to_fsid()

Byongho Lee (3):
btrfs-progs: fix memory leak in btrfs-convert main()
btrfs-progs: fix memory leak in btrfs-map-logical main()
btrfs-progs: add memory allocation fail check in btrfs_add_to_fsid()

 btrfs-convert.c     |  9 +++++----
 btrfs-map-logical.c |  2 ++
 utils.c             | 20 ++++++++++++--------
 3 files changed, 19 insertions(+), 12 deletions(-)
Signature · 1 line
2.5.0