1
0
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:
Michael Adam
2009-01-15 23:34:00 +01:00
parent 2f06192523
commit 26e5e4f6fd

View File

@ -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);