Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e51483a
)
htparser: Fixed SSL memory leak.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 26 Feb 2011 08:09:34 +0000
(09:09 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 26 Feb 2011 08:09:34 +0000
(09:09 +0100)
src/ssl-gnutls.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ssl-gnutls.c
b/src/ssl-gnutls.c
index
ba4cf02
..
8e4ea5c
100644
(file)
--- a/
src/ssl-gnutls.c
+++ b/
src/ssl-gnutls.c
@@
-136,6
+136,9
@@
static ssize_t sslwrite(void *cookie, const char *buf, size_t len)
static int sslclose(void *cookie)
{
+ struct sslconn *ssl = cookie;
+
+ buffree(ssl->in);
return(0);
}