diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-02-12 11:16:19 -0800 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2017-01-02 01:30:03 +0200 |
commit | 55185935c46ef04d9445f831f58e314b77fdb66f (patch) | |
tree | 875780052e3cb4dcf9b27722137cf6b0b329bfb8 | |
parent | e8b756b16bc842254bf9fa130c0eaf32ae8d952c (diff) | |
download | android_system_extras-55185935c46ef04d9445f831f58e314b77fdb66f.tar.gz android_system_extras-55185935c46ef04d9445f831f58e314b77fdb66f.tar.bz2 android_system_extras-55185935c46ef04d9445f831f58e314b77fdb66f.zip |
Fix memory leak of dirbuf.
BUG: 26962062
Change-Id: I5fae9eed5b154205a6780fb28c59fccf0b5b16ec
-rw-r--r-- | ext4_utils/ext4fixup.c | 1 |
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; } |