diff options
-rw-r--r-- | source3/rpc_parse/parse_buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_buffer.c b/source3/rpc_parse/parse_buffer.c index 41064572d9..ea72df8db4 100644 --- a/source3/rpc_parse/parse_buffer.c +++ b/source3/rpc_parse/parse_buffer.c @@ -168,8 +168,7 @@ BOOL rpcbuf_alloc_size(RPC_BUFFER *buffer, uint32 buffer_size) void rpcbuf_move(RPC_BUFFER *src, RPC_BUFFER **dest) { - if ( !src ) - return; + SMB_ASSERT( src != NULL ); prs_switch_type(&src->prs, MARSHALL); if(!prs_set_offset(&src->prs, 0)) |