summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-07-21 11:11:51 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-07-21 18:40:22 +0200
commit3a43ef52db8e85c9479e61853dfed0fa371c4fa4 (patch)
tree798f16b4310ef265d53a663f94a065b07009b0e9 /source3/rpc_server
parent304e8116a9c5ac78ca9769000df73538b28e78df (diff)
downloadsamba-3a43ef52db8e85c9479e61853dfed0fa371c4fa4.tar.gz
samba-3a43ef52db8e85c9479e61853dfed0fa371c4fa4.tar.bz2
samba-3a43ef52db8e85c9479e61853dfed0fa371c4fa4.zip
s3-rpc_server: Free the np dir.
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/rpc_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/rpc_server.c b/source3/rpc_server/rpc_server.c
index 1fc0c08818..a489cf13c0 100644
--- a/source3/rpc_server/rpc_server.c
+++ b/source3/rpc_server/rpc_server.c
@@ -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));