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
(parent:
a848754
)
Fix access of freed location.
author
Jelmer Vernooij
<jelmer@samba.org>
Fri, 3 Oct 2008 00:07:06 +0000
(
02:07
+0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Fri, 3 Oct 2008 00:07:06 +0000
(
02:07
+0200)
daemon/client.c
patch
|
blob
|
history
diff --git
a/daemon/client.c
b/daemon/client.c
index 13328c57f19a98f3c1545dda0c387f767562cb3c..d24313f29e20ee7f702187dbb2a3b7553ae2a97c 100644
(file)
--- a/
daemon/client.c
+++ b/
daemon/client.c
@@
-53,11
+53,12
@@
void daemon_client_kill(struct daemon_client *dc)
g_free(dc->servername);
g_free(dc->servicename);
g_free(dc->description);
- g_free(dc);
if (dc->inetd) {
exit(0);
}
+
+ g_free(dc);
}
void daemon_client_forward_credentials(struct daemon_client *dc)