summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)));