diff options
author | Volker Lendecke <vl@samba.org> | 2008-03-23 17:58:26 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-03-23 18:28:24 +0100 |
commit | 2e2f1d57b1d2732a9c67a65575a5e24876107ff6 (patch) | |
tree | 310b9cb3d7b22aaff79289881f933713de711445 /source3 | |
parent | 988cffe9ca1b473a78a40a24e1db1ec437c8d055 (diff) | |
download | samba-2e2f1d57b1d2732a9c67a65575a5e24876107ff6.tar.gz samba-2e2f1d57b1d2732a9c67a65575a5e24876107ff6.tar.bz2 samba-2e2f1d57b1d2732a9c67a65575a5e24876107ff6.zip |
Fix Coverity ID 477
(This used to be commit f17b1b0fc6340d21f1a2f43aa7eb2e87f851c51f)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/registry/reg_backend_printing.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/registry/reg_backend_printing.c b/source3/registry/reg_backend_printing.c index b2cd553706..5c1e6eb543 100644 --- a/source3/registry/reg_backend_printing.c +++ b/source3/registry/reg_backend_printing.c @@ -373,8 +373,7 @@ static bool key_printers_store_keys( const char *key, REGSUBKEY_CTR *subkeys ) /* cleanup */ - if ( printer ) - free_a_printer( &printer, 2 ); + free_a_printer( &printer, 2 ); SAFE_FREE( existing_subkeys ); |