s3-rpc_server: Free the np dir.
authorAndreas Schneider <asn@samba.org>
Thu, 21 Jul 2011 09:11:51 +0000 (11:11 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 21 Jul 2011 16:40:22 +0000 (18:40 +0200)
source3/rpc_server/rpc_server.c

index 1fc0c08818d672303e7d4a8d331e740f616439fd..a489cf13c088737807a6c03459994044c2a1e8d7 100644 (file)
@@ -241,6 +241,7 @@ bool setup_named_pipe_socket(const char *pipe_name,
                          np_dir, pipe_name));
                goto out;
        }
+       talloc_free(np_dir);
 
        DEBUG(10, ("Openened pipe socket fd %d for %s\n",
                   state->fd, pipe_name));