1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

samba: Save a line with TALLOC_FREE

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2021-09-28 11:28:01 +02:00 committed by Jeremy Allison
parent 5529aa8c4d
commit 187529c979

View File

@ -87,8 +87,7 @@ void stream_terminate_connection(struct stream_connection *srv_conn, const char
reason = "OOM - unknown reason";
}
talloc_free(srv_conn->event.fde);
srv_conn->event.fde = NULL;
TALLOC_FREE(srv_conn->event.fde);
imessaging_cleanup(srv_conn->msg_ctx);
TALLOC_FREE(srv_conn);
model_ops->terminate_connection(