summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmbclient.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-12 10:52:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:19 -0500
commit2e42254291db98ebb29b987ec7ee0ce5ac20df88 (patch)
tree90ab8e9c4829994ccd9d5452c407389e488231f4 /source3/libsmb/libsmbclient.c
parent71bf1be099e2afd989275da1d9fc9f668169a348 (diff)
downloadsamba-2e42254291db98ebb29b987ec7ee0ce5ac20df88.tar.gz
r14234: Fix Coverity bug # 93
(This used to be commit 8a8d9057d98b24710c98fa48df9d7f330a8ebdc0)
Diffstat (limited to 'source3/libsmb/libsmbclient.c')
-rw-r--r--source3/libsmb/libsmbclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index 7a390a83f21..a18e9910aa8 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;
}