diff options
Diffstat (limited to 'mdadm.c')
-rw-r--r-- | mdadm.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1708,6 +1708,10 @@ int main(int argc, char *argv[]) autodetect(); break; } + if (ss) { + ss->ss->free_super(ss); + free(ss); + } if (locked) cluster_release_dlmlock(); close_fd(&mdfd); |