summaryrefslogtreecommitdiffstats
path: root/super-intel.c
diff options
context:
space:
mode:
Diffstat (limited to 'super-intel.c')
-rw-r--r--super-intel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/super-intel.c b/super-intel.c
index 24827d0..7b04a79 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -2196,6 +2196,8 @@ static int load_super_imsm(struct supertype *st, int fd, char *devname)
return 0;
#endif
+ free_super_imsm(st);
+
super = alloc_super(0);
if (!super) {
fprintf(stderr,