diff options
author | Gerald Carter <jerry@samba.org> | 2004-10-19 16:17:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:00 -0500 |
commit | f2aca08c653a61dc4d6e99263dda7b649ef648b0 (patch) | |
tree | 020910cdf8b65122b03083654c172993d083958d /source3 | |
parent | 0af8284de1ce411289ec71d5b840a6171b66dc3b (diff) | |
download | samba-f2aca08c653a61dc4d6e99263dda7b649ef648b0.tar.gz samba-f2aca08c653a61dc4d6e99263dda7b649ef648b0.tar.bz2 samba-f2aca08c653a61dc4d6e99263dda7b649ef648b0.zip |
r3066: BUG 1519: fix segfault caused by double free of a printer
(This used to be commit 3760464193c540e82f0ba4e61d1d3b96a9803aca)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index d096ed4021..2d230b07bb 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -8663,7 +8663,6 @@ static WERROR getjob_level_2(print_queue_struct **queue, int count, int snum, free_job_info_2(info_2); /* Also frees devmode */ SAFE_FREE(info_2); - free_a_printer(&ntprinter, 2); return ret; } |