diff options
author | Volker Lendecke <vl@samba.org> | 2012-04-19 15:30:06 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-04-19 20:52:27 +0200 |
commit | e573f114681533425eded76f1322a9327308c40e (patch) | |
tree | 226f4d5ddb605c8ecfc24bc37e7bf9c12b6a7588 | |
parent | 4ded55ebcd4ae3e0425d7e89e30b24d72682c0de (diff) | |
download | samba-e573f114681533425eded76f1322a9327308c40e.tar.gz samba-e573f114681533425eded76f1322a9327308c40e.tar.bz2 samba-e573f114681533425eded76f1322a9327308c40e.zip |
s3: Fix Coverity ID 2686 -- RESOURCE_LEAK
-rw-r--r-- | source3/nmbd/nmbd_processlogon.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |