diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 57ca89379e..e86b36a5fe 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -6736,6 +6736,7 @@ static WERROR enumprinterdrivers_level1(fstring servername, fstring architecture architecture, version); if (!W_ERROR_IS_OK(status)) { SAFE_FREE(list); + SAFE_FREE(driver_info_1); return status; } fill_printer_driver_info_1(&driver_info_1[*returned+i], driver, servername, architecture ); |