]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Manage.c
Free some malloced memory that wasn't being freed.
authorNeilBrown <neilb@suse.de>
Thu, 22 Oct 2009 00:00:56 +0000 (11:00 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Oct 2009 00:00:56 +0000 (11:00 +1100)
commit0eb26465c0a14d707ca00f4f7bcdb67bde36f706
tree60ccd8c30d747fce5a40926cddf6af0a1e9531d4
parent1799c9e8f8465fdbd583dfe6381400e1d01d4954
Free some malloced memory that wasn't being freed.

As mdadm is normally a short-lived program it isn't always necessary
to free memory that was allocated, as the 'exit()' call will
automatically free everything.  But it is more obviously correct if
the 'free' is there.
So this patch add a few calls to 'free'

Signed-off-by: NeilBrown <neilb@suse.de>
Detail.c
Manage.c
mdopen.c