summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-03-20 16:44:21 -0400
committerJeremy Katz <katzj@redhat.com>2008-03-20 16:44:21 -0400
commite1de255048cfed5dc120b6e7f77dfc65ebfaeaba (patch)
treefe78c84d15201037f3c2d233768e4a0e65bcb3df /loader2
parente865aacec53c4d8f8548dff1e5a986a937606760 (diff)
downloadanaconda-e1de255048cfed5dc120b6e7f77dfc65ebfaeaba.tar.gz
anaconda-e1de255048cfed5dc120b6e7f77dfc65ebfaeaba.tar.xz
anaconda-e1de255048cfed5dc120b6e7f77dfc65ebfaeaba.zip
Fix the build
Diffstat (limited to 'loader2')
-rw-r--r--loader2/urlinstall.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/loader2/urlinstall.c b/loader2/urlinstall.c
index 90d791771..a239e1951 100644
--- a/loader2/urlinstall.c
+++ b/loader2/urlinstall.c
@@ -205,7 +205,7 @@ static int loadUrlImages(struct iurlinfo * ui) {
char * mountUrlImage(struct installMethod * method,
char * location, struct loaderData_s * loaderData) {
int rc;
- char *url, *buf;
+ char *url;
struct iurlinfo ui;
char needsSecondary = ' ';
char * cdurl = NULL;
@@ -275,7 +275,6 @@ char * mountUrlImage(struct installMethod * method,
_("Local installation media detected..."), 0);
sleep(3);
newtPopWindow();
- free(buf);
stage = URL_STAGE_DONE;
} else {