summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)) {