[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1388903203-5067-3-git-send-email-tytso@mit.edu>
Date: Sun, 5 Jan 2014 01:26:42 -0500
From: Theodore Ts'o <tytso@....edu>
To: Ext4 Developers List <linux-ext4@...r.kernel.org>
Cc: Theodore Ts'o <tytso@...gle.com>, "Theodore Ts'o" <tytso@....edu>
Subject: [PATCH 3/4] test_extents: fix a possible memory leak
From: Theodore Ts'o <tytso@...gle.com>
Addresses-Coverity-Bug: #1049185
Signed-off-by: "Theodore Ts'o" <tytso@....edu>
---
resize/test_extent.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/resize/test_extent.c b/resize/test_extent.c
index fa3f505..60aa08f 100644
--- a/resize/test_extent.c
+++ b/resize/test_extent.c
@@ -109,6 +109,8 @@ void do_test(FILE *in, FILE *out)
} else
fputs("# Syntax error\n", out);
}
+ if (extent)
+ ext2fs_free_extent_table(extent);
}
#ifdef __GNUC__
--
1.8.5.rc3.362.gdf10213
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists