diff options
author | Gerald Carter <jerry@samba.org> | 2003-04-09 04:38:56 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-04-09 04:38:56 +0000 |
commit | ff8d6da5a3e799ccad32add6cc2c79014c79a7ba (patch) | |
tree | 36530f502841396cae413c5b9707fd96ff5410bb | |
parent | 0aad60636d2ac86f6700ad137899fa2236e46509 (diff) | |
download | samba-ff8d6da5a3e799ccad32add6cc2c79014c79a7ba.tar.gz samba-ff8d6da5a3e799ccad32add6cc2c79014c79a7ba.tar.bz2 samba-ff8d6da5a3e799ccad32add6cc2c79014c79a7ba.zip |
forgotten merge left on disk; remove extra SAFE_FREE()
(This used to be commit 4d42067cb89220a1b275bc8408c9c1ba2ef7766a)
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 71d7530410..fec9de8990 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -8414,7 +8414,6 @@ static WERROR getjob_level_1(print_queue_struct *queue, int count, int snum, uin info_1=(JOB_INFO_1 *)malloc(sizeof(JOB_INFO_1)); if (info_1 == NULL) { - SAFE_FREE(queue); return WERR_NOMEM; } @@ -8424,7 +8423,6 @@ static WERROR getjob_level_1(print_queue_struct *queue, int count, int snum, uin } if (found==False) { - SAFE_FREE(queue); SAFE_FREE(info_1); /* NT treats not found as bad param... yet another bad choice */ return WERR_INVALID_PARAM; |