Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7154d97
)
e2freefrag: fix memory leak in scan_online()
author
Lukas Czerner
<lczerner@redhat.com>
Mon, 11 Feb 2019 16:52:50 +0000
(11:52 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 11 Feb 2019 16:53:29 +0000
(11:53 -0500)
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2freefrag.c
patch
|
blob
|
history
diff --git
a/misc/e2freefrag.c
b/misc/e2freefrag.c
index
20b79b3
..
b80b742
100644
(file)
--- a/
misc/e2freefrag.c
+++ b/
misc/e2freefrag.c
@@
-235,7
+235,7
@@
static int scan_online(ext2_filsys fs, struct chunk_info *info,
break;
fsmap_advance(fsmap);
}
-
+ free(fsmap);
return 1;
}
#else