summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-15 10:48:59 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-15 10:48:59 +0000
commit0820a16e20865cbe522bc67c75db486d1725f0e9 (patch)
tree0595def3396e315f697692c6df6a57fc2577eabb /mdk-stage1
parente4a78f9f5dfc2d9255d963fd518a5f00cb5c4e3f (diff)
downloaddrakx-backup-do-not-use-0820a16e20865cbe522bc67c75db486d1725f0e9.tar
drakx-backup-do-not-use-0820a16e20865cbe522bc67c75db486d1725f0e9.tar.gz
drakx-backup-do-not-use-0820a16e20865cbe522bc67c75db486d1725f0e9.tar.bz2
drakx-backup-do-not-use-0820a16e20865cbe522bc67c75db486d1725f0e9.tar.xz
drakx-backup-do-not-use-0820a16e20865cbe522bc67c75db486d1725f0e9.zip
Fix minor memory leak
Diffstat (limited to 'mdk-stage1')
-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)