summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 7059eb842..b8dbb64c3 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -957,6 +957,7 @@ enum return_type nfs_prepare(void)
results = RETURN_BACK;
continue;
}
+ free(nfsmount_location); nfsmount_location = NULL;
results = try_with_directory(nfs_own_mount, "nfs", "nfs-iso");
if (results != RETURN_OK)