From 8dece036159a9fb48ccb73f60fdec30df39cb76a Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 26 Jan 2012 14:28:08 +0100 Subject: [PATCH] libmount: fix leak in tab_update.c test --- libmount/src/tab_update.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.47.3