diff options
-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 ); |