diff options
author | David Disseldorp <ddiss@samba.org> | 2013-01-18 11:48:20 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2013-01-18 15:37:10 +0100 |
commit | 12a08d8ae254d5cb0651cb6016ab7e1859f47d82 (patch) | |
tree | f616a040b79dd2b42a768bf0054ec98e382fbf2b /source3 | |
parent | f0852a3483424d1242390011a65c427d3dbd80f2 (diff) | |
download | samba-12a08d8ae254d5cb0651cb6016ab7e1859f47d82.tar.gz samba-12a08d8ae254d5cb0651cb6016ab7e1859f47d82.tar.bz2 samba-12a08d8ae254d5cb0651cb6016ab7e1859f47d82.zip |
printing: Remove invalid free from error path.
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/printing/nt_printing_ads.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c index 87cab63ceb..d888271bf9 100644 --- a/source3/printing/nt_printing_ads.c +++ b/source3/printing/nt_printing_ads.c @@ -167,7 +167,6 @@ static WERROR nt_printer_publish_ads(struct messaging_context *msg_ctx, mods = ads_init_mods(ctx); if (mods == NULL) { - SAFE_FREE(prt_dn); TALLOC_FREE(ctx); return WERR_NOMEM; } |