summaryrefslogtreecommitdiff
path: root/ext4_utils
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2016-02-12 20:08:47 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-02-12 20:08:47 +0000
commit7dbb966f1dbbe10102dd25ddca6c558da90d3d5a (patch)
tree5f90dcb914a0099fe85dff93dc58c89038c815dd /ext4_utils
parent56f9d89201294ec5d351c1bd50bb26eb3f22b40d (diff)
parentdc0cfc06dfb1824851a5be66e60ece97d4a012b8 (diff)
downloadextras-7dbb966f1dbbe10102dd25ddca6c558da90d3d5a.tar.gz
Merge "Fix memory leak of dirbuf."
am: dc0cfc06df * commit 'dc0cfc06dfb1824851a5be66e60ece97d4a012b8': Fix memory leak of dirbuf.
Diffstat (limited to 'ext4_utils')
-rw-r--r--ext4_utils/ext4fixup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext4_utils/ext4fixup.c b/ext4_utils/ext4fixup.c
index 184cd0d6..4b402072 100644
--- a/ext4_utils/ext4fixup.c
+++ b/ext4_utils/ext4fixup.c
@@ -806,6 +806,7 @@ int ext4fixup_internal(char *fsdev, int v_flag, int n_flag,
}
close(fd);
+ free(dirbuf);
return 0;
}