X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fmdadm.git;a=blobdiff_plain;f=util.c;h=dbe46404c89ae1d00d649b6ecb02292709e5b879;hp=bd4699955ac40cba46144f7b537c625a0b697607;hb=5e747af24abc021073d979925628fec28052a731;hpb=767bd452981d5fae96487b1394f9d1ff535a3127 diff --git a/util.c b/util.c index bd469995..dbe46404 100644 --- a/util.c +++ b/util.c @@ -818,7 +818,7 @@ struct supertype *guess_super(int fd) st->ss = NULL; rv = superlist[bestsuper]->load_super(st, fd, NULL); if (rv == 0) { - ss->free_super(st); + superlist[bestsuper]->free_super(st); return st; } }