summaryrefslogtreecommitdiff
path: root/Monitor.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-05-26 01:40:53 +0000
committerNeil Brown <neilb@suse.de>2006-05-26 01:40:53 +0000
commite7bb5d23a9b29ae6f316fe3ce8970301e1bc0d4d (patch)
treef4a8fbc18ab7fb30698f8179b938dcb527d41f81 /Monitor.c
parentda6b5ca9bd6962ea70dfa750f3d85ac1657fb9cf (diff)
downloadmdadm-e7bb5d23a9b29ae6f316fe3ce8970301e1bc0d4d.tar.gz
Choose better devnumbers and tidy up some issues with finding names.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'Monitor.c')
-rw-r--r--Monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Monitor.c b/Monitor.c
index c94bfd8..7314cdc 100644
--- a/Monitor.c
+++ b/Monitor.c
@@ -385,6 +385,7 @@ int Monitor(mddev_dev_t devlist,
if (fd >=0) close(fd);
free(st->devname);
free(st);
+ put_md_name(st->devname);
continue;
}
close(fd);