diff options
author | NeilBrown <neilb@suse.de> | 2009-01-08 09:25:31 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-01-08 09:25:31 +1100 |
commit | 89a10d84cb76492b7d8ea96d0a206b54702bcaff (patch) | |
tree | b91ea8cf18e46e8cfab9d1814cb65fbfa89968c1 /mapfile.c | |
parent | 3a56f223e94106102eed3fd2b08d3ecad353361b (diff) | |
download | mdadm-89a10d84cb76492b7d8ea96d0a206b54702bcaff.tar.gz |
Free mdstat data structures properly.
In one case we called 'free' instead of 'mdstat_free'.
In others we didn't free at all.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mapfile.c')
-rw-r--r-- | mapfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -245,6 +245,7 @@ void RebuildMap(void) break; } } + free_mdstat(mdstat); map_write(map); map_free(map); } |