summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/disk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdk-stage1/disk.c b/mdk-stage1/disk.c
index 5597d0bd4..c0c964800 100644
--- a/mdk-stage1/disk.c
+++ b/mdk-stage1/disk.c
@@ -299,6 +299,7 @@ static enum return_type try_with_device(char *dev_name)
}
umount(IMAGE_LOCATION);
+ del_loop(loopdev);
}
stage2_isos[stage2_iso_number] = NULL;