summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nmbd/nmbd_winsserver.c2
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);