projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6fc8a8
)
Fix memory leak on non-200 HTTP result
author
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 12 May 2010 19:37:01 +0000
(20:37 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 12 May 2010 19:37:01 +0000
(20:37 +0100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
http.c
patch
|
blob
|
history
diff --git
a/http.c
b/http.c
index
58e03e0
..
9b4779b
100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-722,6
+722,7
@@
int openconnect_obtain_cookie(struct openconnect_info *vpninfo)
vpninfo->progress(vpninfo, PRG_ERR,
"Unexpected %d result from server\n",
result);
+ free(form_buf);
return -EINVAL;
}
if (vpninfo->csd_stuburl) {