projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
123c7b3
)
fix bad free() that caused segfault
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 11 Oct 2002 17:44:36 +0000
(17:44 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 11 Oct 2002 17:44:36 +0000
(17:44 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
06fcbe5
..
bde43ac
100644
(file)
--- 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(
a
line);
continue;
}