projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44f74db
)
Fix a potential double-free.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Wed, 15 May 2013 20:24:54 +0000
(22:24 +0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Wed, 15 May 2013 20:24:54 +0000
(22:24 +0200)
httpinput.cpp
patch
|
blob
|
history
diff --git
a/httpinput.cpp
b/httpinput.cpp
index
7da8daa
..
cc618bc
100644
(file)
--- a/
httpinput.cpp
+++ b/
httpinput.cpp
@@
-89,7
+89,6
@@
int HTTPInput::lookup_and_connect(const string &host, const string &port)
if (err == -1) {
log(WARNING, "[%s] Lookup of '%s' failed (%s).",
url.c_str(), host.c_str(), gai_strerror(err));
- freeaddrinfo(ai);
return -1;
}