mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
fixed a memory leak
(This used to be commit d4743ec0be419565c805fbc5ba2680c6ad5fe36d)
This commit is contained in:
parent
ba020b0612
commit
f6dec4d551
@ -3710,6 +3710,8 @@ uint32 _spoolss_addprinterdriver( const UNISTR2 *server_name,
|
||||
if (add_a_printer_driver(driver, level)!=0)
|
||||
return ERROR_ACCESS_DENIED;
|
||||
|
||||
safe_free(driver.info_3);
|
||||
|
||||
return NT_STATUS_NO_PROBLEMO;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user