From: Karel Zak Date: Thu, 26 Jan 2012 13:28:08 +0000 (+0100) Subject: libmount: fix leak in tab_update.c test X-Git-Tag: v2.21-rc2~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8dece036159a9fb48ccb73f60fdec30df39cb76a;p=thirdparty%2Futil-linux.git libmount: fix leak in tab_update.c test --- diff --git a/libmount/src/tab_update.c b/libmount/src/tab_update.c index e40868c0e0..a9be364f91 100644 --- a/libmount/src/tab_update.c +++ b/libmount/src/tab_update.c @@ -780,6 +780,7 @@ static int update(const char *target, struct libmnt_fs *fs, unsigned long mountf rc = mnt_update_table(upd, NULL); done: + mnt_free_update(upd); return rc; }