Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dddb55
)
Fixed memory leak in fnet-dc's udpread.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 16 Mar 2008 05:41:19 +0000
(06:41 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 16 Mar 2008 05:41:19 +0000
(06:41 +0100)
daemon/fnet-dc.c
patch
|
blob
|
blame
|
history
diff --git
a/daemon/fnet-dc.c
b/daemon/fnet-dc.c
index
7773577
..
317a133
100644
(file)
--- a/
daemon/fnet-dc.c
+++ b/
daemon/fnet-dc.c
@@
-2951,6
+2951,7
@@
static void udpread(struct socket *sk, void *data)
if((hub->sk != NULL) && addreq(addrbuf, (struct sockaddr *)&hubaddr))
{
myfn = fn;
+ free(addrbuf);
break;
}
free(addrbuf);