summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-11 02:14:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:15 -0500
commitcc122aa6fffc0ad3dbe20f0ed4d1984f1b3f2c8c (patch)
treef77424cabbd67e7d2b03824841de6bcc70571e94
parentf2006f8ce1d4e87ddb5605ca11e5763f6526830f (diff)
downloadsamba-cc122aa6fffc0ad3dbe20f0ed4d1984f1b3f2c8c.tar.gz
samba-cc122aa6fffc0ad3dbe20f0ed4d1984f1b3f2c8c.tar.bz2
samba-cc122aa6fffc0ad3dbe20f0ed4d1984f1b3f2c8c.zip
r14186: Coverity fix #31. Don't deref null.
Jeremy. (This used to be commit 014a3c86613f5c3fcbf12cd7df35c68bdce29331)
-rw-r--r--source3/libmsrpc/libmsrpc_internal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libmsrpc/libmsrpc_internal.c b/source3/libmsrpc/libmsrpc_internal.c
index b52bd0d788..ac61424e70 100644
--- a/source3/libmsrpc/libmsrpc_internal.c
+++ b/source3/libmsrpc/libmsrpc_internal.c
@@ -165,6 +165,7 @@ RPC_DATA_BLOB *cac_MakeRpcDataBlob(TALLOC_CTX *mem_ctx, uint32 data_type, REG_VA
default:
TALLOC_FREE(blob);
blob = NULL;
+ return NULL;
}
if(!(blob->buffer)) {