diff options
author | Michael Adam <obnox@samba.org> | 2009-01-15 23:34:00 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-01-16 01:02:21 +0100 |
commit | 26e5e4f6fd07893d914ac9a397669b6b4097e0be (patch) | |
tree | 738f4b6676ce2c48468c96fff9304422ffe1a55e /source3/nmbd | |
parent | 2f06192523633939c2df87e05c3f97655455da27 (diff) | |
download | samba-26e5e4f6fd07893d914ac9a397669b6b4097e0be.tar.gz samba-26e5e4f6fd07893d914ac9a397669b6b4097e0be.tar.bz2 samba-26e5e4f6fd07893d914ac9a397669b6b4097e0be.zip |
s3:nmbd: don't leak state_path() to talloc_tos() in wins_write_database()
Michael
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd_winsserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c index fecc5baac6..0a5b1c8764 100644 --- a/source3/nmbd/nmbd_winsserver.c +++ b/source3/nmbd/nmbd_winsserver.c @@ -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); |