From 6fb1ec5e6be2544cfbcaa4bda15eef7bfbeb2b3b Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Sat, 28 Aug 2004 21:26:52 +0000 Subject: [PATCH] Fix memory leak. (Christophe Grenier) (Logical change 1.515) --- libntfs/attrib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libntfs/attrib.c b/libntfs/attrib.c index f4b5cc3e..ec71707f 100644 --- a/libntfs/attrib.c +++ b/libntfs/attrib.c @@ -187,6 +187,7 @@ s64 ntfs_get_attribute_value(const ntfs_volume *vol, } #undef ESTR free(rl); + free(intbuf); return 0; } memcpy(b + total, intbuf, sle64_to_cpu(a->data_size) -