summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-07-26 11:02:05 +0200
committerAndreas Schneider <asn@samba.org>2011-07-27 08:49:58 +0200
commitbed0672b036f6b2f77abbc2ec566d0657fe2042e (patch)
tree7cf5ed76cd93b3d72a073dd3a711df59c79eb653
parent99e03bee7ae5de37280a4e571caf36b0a8553fae (diff)
downloadsamba-bed0672b036f6b2f77abbc2ec566d0657fe2042e.tar.gz
samba-bed0672b036f6b2f77abbc2ec566d0657fe2042e.tar.bz2
samba-bed0672b036f6b2f77abbc2ec566d0657fe2042e.zip
s3-spoolss: Free local in winreg_printer_binding_handle.
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_util.c b/source3/rpc_server/spoolss/srv_spoolss_util.c
index 86484b0366..abb65c2cc5 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_util.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_util.c
@@ -51,6 +51,7 @@ WERROR winreg_printer_binding_handle(TALLOC_CTX *mem_ctx,
session_info,
msg_ctx,
winreg_binding_handle);
+ talloc_free(local);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("winreg_printer_binding_handle: Could not connect to winreg pipe: %s\n",
nt_errstr(status)));