summaryrefslogtreecommitdiff
path: root/Examine.c
diff options
context:
space:
mode:
Diffstat (limited to 'Examine.c')
-rw-r--r--Examine.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Examine.c b/Examine.c
index 46fee950..02d5ac44 100644
--- a/Examine.c
+++ b/Examine.c
@@ -116,10 +116,8 @@ int Examine(mddev_dev_t devlist, int brief, int export, int scan,
ap->st = st;
arrays = ap;
st->ss->getinfo_super(st, &ap->info);
- } else {
+ } else
st->ss->getinfo_super(st, &ap->info);
- st->ss->free_super(st);
- }
if (!(ap->info.disk.state & (1<<MD_DISK_SYNC)))
ap->spares++;
d = dl_strdup(devlist->devname);