summaryrefslogtreecommitdiff
path: root/Detail.c
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2011-11-01 14:51:14 +1100
committerNeilBrown <neilb@suse.de>2011-11-01 14:51:14 +1100
commit5454b6f32475048a7fbc59e25701361985dc0299 (patch)
treee36dc305d1a5d2d90554928a6d4ad38ce131dd9b /Detail.c
parent83366b33529567fb13a26773196a03a35b872c52 (diff)
downloadmdadm-5454b6f32475048a7fbc59e25701361985dc0299.tar.gz
Fix memory leak
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Detail.c')
-rw-r--r--Detail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Detail.c b/Detail.c
index ca34abe..c564786 100644
--- a/Detail.c
+++ b/Detail.c
@@ -587,6 +587,7 @@ This is pretty boring
out:
close(fd);
free(subarray);
+ sysfs_free(sra);
return rv;
}