mirror of
https://github.com/samba-team/samba.git
synced 2025-08-07 09:49:30 +03:00
s3:nmbd: don't leak state_path() to talloc_tos() in wins_write_database()
Michael
This commit is contained in:
@ -2395,7 +2395,7 @@ void wins_write_database(time_t t, bool background)
|
||||
err_exit:
|
||||
|
||||
SAFE_FREE(fnamenew);
|
||||
/* fname is talloced and doesn't need to be freed */
|
||||
TALLOC_FREE(fname);
|
||||
|
||||
if (background) {
|
||||
_exit(0);
|
||||
|
Reference in New Issue
Block a user