1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fix Coverity ID 478

(This used to be commit 5f77938dc4)
This commit is contained in:
Volker Lendecke 2008-03-23 17:57:01 +01:00
parent 3b9680264a
commit 988cffe9ca

View File

@ -516,7 +516,6 @@ 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 );
return -1;
}