diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-03-12 10:52:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:19 -0500 |
commit | 2e42254291db98ebb29b987ec7ee0ce5ac20df88 (patch) | |
tree | 90ab8e9c4829994ccd9d5452c407389e488231f4 | |
parent | 71bf1be099e2afd989275da1d9fc9f668169a348 (diff) | |
download | samba-2e42254291db98ebb29b987ec7ee0ce5ac20df88.tar.gz samba-2e42254291db98ebb29b987ec7ee0ce5ac20df88.tar.bz2 samba-2e42254291db98ebb29b987ec7ee0ce5ac20df88.zip |
r14234: Fix Coverity bug # 93
(This used to be commit 8a8d9057d98b24710c98fa48df9d7f330a8ebdc0)
-rw-r--r-- | source3/libsmb/libsmbclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index 7a390a83f2..a18e9910aa 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -5784,6 +5784,7 @@ smbc_new_context(void) context->internal = SMB_MALLOC_P(struct smbc_internal_data); if (!context->internal) { + SAFE_FREE(context); errno = ENOMEM; return NULL; } |