summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-30 04:22:54 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-30 04:22:54 +0200
commit2400b1fea2a07ad3972ee8133e37eaf2f91499d0 (patch)
tree7dcdaf0e5041ded6d989484d97991cb4321074e0 /source4/smbd
parent4a1dabd8361c8480261d89b4ea39236ff0431897 (diff)
downloadsamba-2400b1fea2a07ad3972ee8133e37eaf2f91499d0.tar.gz
samba-2400b1fea2a07ad3972ee8133e37eaf2f91499d0.tar.bz2
samba-2400b1fea2a07ad3972ee8133e37eaf2f91499d0.zip
Fix segfault.
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/service_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/service_stream.c b/source4/smbd/service_stream.c
index 1240382944..ce5b6519a1 100644
--- a/source4/smbd/service_stream.c
+++ b/source4/smbd/service_stream.c
@@ -78,8 +78,8 @@ void stream_terminate_connection(struct stream_connection *srv_conn, const char
talloc_free(srv_conn->event.fde);
srv_conn->event.fde = NULL;
- talloc_free(srv_conn);
model_ops->terminate(event_ctx, srv_conn->lp_ctx, reason);
+ talloc_free(srv_conn);
}
/**