summaryrefslogtreecommitdiffstats
path: root/loader2/nfsinstall.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-10-02 01:22:52 +0000
committerJeremy Katz <katzj@redhat.com>2003-10-02 01:22:52 +0000
commit884675b82ddfa9ff422802b0282caa720d02978a (patch)
tree24aac517520016f668dc0767248a8e87a0e2c224 /loader2/nfsinstall.c
parentd9788a5bca8558fb06fc29c6ac6139b5110e5e63 (diff)
downloadanaconda-884675b82ddfa9ff422802b0282caa720d02978a.tar.gz
anaconda-884675b82ddfa9ff422802b0282caa720d02978a.tar.xz
anaconda-884675b82ddfa9ff422802b0282caa720d02978a.zip
don't loop forever if the given nfs dir is mountable but not right (#106007)
Diffstat (limited to 'loader2/nfsinstall.c')
-rw-r--r--loader2/nfsinstall.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/loader2/nfsinstall.c b/loader2/nfsinstall.c
index be63bf2be..4f8e9ff5c 100644
--- a/loader2/nfsinstall.c
+++ b/loader2/nfsinstall.c
@@ -188,6 +188,11 @@ char * mountNfsImage(struct installMethod * method,
"contain a %s installation tree."),
getProductName());
newtWinMessage(_("Error"), _("OK"), buf);
+ if (loaderData->method) {
+ free(loaderData->method);
+ loaderData->method = NULL;
+ }
+
break;
} else {