aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-10-11 17:44:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-10-11 17:44:36 +0000
commit25c973a39e3a0d7a03c15cf4476ddf691e40ace1 (patch)
tree6c2cea58711e54cd760ff59037ad7be99810c63d /src
parent123c7b32db965eeae2601fa8c2939a890668f5c5 (diff)
fix bad free() that caused segfault
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 06fcbe5b8..bde43acea 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1774,7 +1774,7 @@ static int parseconfig(const char *filename,
case '\n':
case '*':
case '\0':
- free(line);
+ free(aline);
continue;
}