From e573f114681533425eded76f1322a9327308c40e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 19 Apr 2012 15:30:06 +0200 Subject: s3: Fix Coverity ID 2686 -- RESOURCE_LEAK --- source3/nmbd/nmbd_processlogon.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/nmbd') diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c index 76864e640e..ca77ebf1d2 100644 --- a/source3/nmbd/nmbd_processlogon.c +++ b/source3/nmbd/nmbd_processlogon.c @@ -505,6 +505,7 @@ logons are not enabled.\n", inet_ntoa(p->ip) )); status = push_nbt_netlogon_response(&blob_out, talloc_tos(), &response); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("process_logon_packet: failed to push packet\n")); + SAFE_FREE(source_addr); return; } -- cgit