diff options
author | Volker Lendecke <vl@samba.org> | 2008-03-23 17:57:01 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-03-23 18:28:23 +0100 |
commit | 988cffe9ca1b473a78a40a24e1db1ec437c8d055 (patch) | |
tree | 3d887be833e23c491c09d949dba212c12bf9508e /source3 | |
parent | 3b9680264aa3faa7a07d036e14aaf0a439d212ca (diff) | |
download | samba-988cffe9ca1b473a78a40a24e1db1ec437c8d055.tar.gz samba-988cffe9ca1b473a78a40a24e1db1ec437c8d055.tar.bz2 samba-988cffe9ca1b473a78a40a24e1db1ec437c8d055.zip |
Fix Coverity ID 478
(This used to be commit 5f77938dc4a280b654b8d08656f19a7d04cea8c7)
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 582989d8d1..b2cd553706 100644 --- a/source3/registry/reg_backend_printing.c +++ b/source3/registry/reg_backend_printing.c @@ -516,8 +516,7 @@ static int key_printers_fetch_values( const char *key, REGVAL_CTR *values ) if ( (key_index = lookup_printerkey( p_data, printerdatakey )) == -1 ) { /* failure....should never happen if the client has a valid open handle first */ DEBUG(10,("key_printers_fetch_values: Unknown keyname [%s]\n", printerdatakey)); - if ( printer ) - free_a_printer( &printer, 2 ); + free_a_printer( &printer, 2 ); return -1; } |