]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - debugfs/set_fields.c
debugfs: don't leak mmp_s memory (on error path)
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Dec 2013 17:52:00 +0000 (12:52 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 12 Dec 2013 17:57:27 +0000 (12:57 -0500)
commit85b8f7affa5fadb1972e82e04cc3d1828966b238
treefc25f74b1182c6adb3986183b2fd39014157d330
parentddbe78528f664a43c447e5ffeb0b89fe9fed515d
debugfs: don't leak mmp_s memory (on error path)

ext2fs_free_mem() takes a pointer to a pointer, similar to
ext2fs_get_mem().  Improve the documentation, and fix debugfs.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/set_fields.c
lib/ext2fs/ext2fs.h