diff options
author | Gerald Carter <jerry@samba.org> | 2003-04-08 14:06:27 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-04-08 14:06:27 +0000 |
commit | b4f1061cca33d66a0e473cb6631b1373bca338ac (patch) | |
tree | 58c7aae9b6a8fc788e49612e1bfd5416429766cd /source3 | |
parent | b15255d7ab8a0b883f97fe57bf7280fbbf8e92b7 (diff) | |
download | samba-b4f1061cca33d66a0e473cb6631b1373bca338ac.tar.gz samba-b4f1061cca33d66a0e473cb6631b1373bca338ac.tar.bz2 samba-b4f1061cca33d66a0e473cb6631b1373bca338ac.zip |
fixup extra SAFE_FREE()'s noticed by abartlet
(This used to be commit 51d330dcf3bd74367fc18f4229a9cfa0392f0b36)
Diffstat (limited to 'source3')
-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 1c203733b5..fd837cd9fb 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; |