mirror of
https://github.com/samba-team/samba.git
synced 2025-03-04 16:58:42 +03:00
parent
1899d8ea28
commit
d2be8163f2
@ -2804,8 +2804,10 @@ int get_printer_subkeys( NT_PRINTER_DATA *data, const char* key, fstring **subke
|
||||
|
||||
/* return error if the key was not found */
|
||||
|
||||
if ( i == data->num_keys )
|
||||
if ( i == data->num_keys ) {
|
||||
SAFE_FREE(subkeys_ptr);
|
||||
return -1;
|
||||
}
|
||||
|
||||
done:
|
||||
/* tag off the end */
|
||||
|
Loading…
x
Reference in New Issue
Block a user