summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-07-25 21:52:29 +0200
committerAndreas Schneider <asn@samba.org>2011-07-27 08:50:01 +0200
commitb77f626def8cd4bf20eb15b98bc8655aab22c32a (patch)
tree39fa317f848e875609dd437b23a3bec1a3ecd5cd /source3/rpc_server
parentf26441d8ba8cf89f6b08b64ae40e75d6ab2d2aa3 (diff)
downloadsamba-b77f626def8cd4bf20eb15b98bc8655aab22c32a.tar.gz
samba-b77f626def8cd4bf20eb15b98bc8655aab22c32a.tar.bz2
samba-b77f626def8cd4bf20eb15b98bc8655aab22c32a.zip
s3-spoolss: Free the info2 structure in _spoolss_GetPrinter.
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index 9e241b576d..34ad67aaa6 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -4853,6 +4853,7 @@ WERROR _spoolss_GetPrinter(struct pipes_struct *p,
result = WERR_UNKNOWN_LEVEL;
break;
}
+ TALLOC_FREE(info2);
out:
if (!W_ERROR_IS_OK(result)) {