git.samba.org
/
jelmer
/
ctrlproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3605142
)
Fix memory leak.
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 28 Nov 2007 20:51:41 +0000
(21:51 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Wed, 28 Nov 2007 20:51:41 +0000
(21:51 +0100)
lib/state.c
patch
|
blob
|
history
diff --git
a/lib/state.c
b/lib/state.c
index f63212607737a6cc02f4855f8456c1e5939b3161..79b4fa287aa9d4650ceff9ce38a61694ab390593 100644
(file)
--- a/
lib/state.c
+++ b/
lib/state.c
@@
-127,6
+127,7
@@
static void free_channel_nick(struct channel_nick *n)
if (g_list_length(n->global_nick->channel_nicks) == 0 && n->global_nick->query == 0)
free_network_nick(n->channel->network, n->global_nick);
+ g_free(n->last_flags);
g_free(n);
}