Ensure all callers to the rpc_client/cli_pipe functions correctly
[ira/wip.git] / source3 / utils / net_rpc_shell.c
index 5e0f1503712f6a4660ef8f57932b376a216a559b..39ef1cedcd0a51cfd20adcc8f1a37654bd04c4eb 100644 (file)
@@ -69,7 +69,7 @@ static NTSTATUS net_sh_run(struct net_context *c,
                           int argc, const char **argv)
 {
        TALLOC_CTX *mem_ctx;
-       struct rpc_pipe_client *pipe_hnd;
+       struct rpc_pipe_client *pipe_hnd = NULL;
        NTSTATUS status;
 
        mem_ctx = talloc_new(ctx);