X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fmdadm.git;a=blobdiff_plain;f=super-intel.c;h=7b04a79ee26975facb7fe794bea4ec82214d6241;hp=24827d0b20261f865167e7dd62b5d457aea48564;hb=37424f132cb3874fe51021b1b5e04445a3ba1bdb;hpb=f98d41ddb4ac543176f33454ceb70983109272d9 diff --git a/super-intel.c b/super-intel.c index 24827d0b..7b04a79e 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,