git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f06192
)
s3:nmbd: don't leak state_path() to talloc_tos() in wins_write_database()
author
Michael Adam
<obnox@samba.org>
Thu, 15 Jan 2009 22:34:00 +0000
(23:34 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 16 Jan 2009 00:02:21 +0000
(
01:02
+0100)
Michael
source3/nmbd/nmbd_winsserver.c
patch
|
blob
|
history
diff --git
a/source3/nmbd/nmbd_winsserver.c
b/source3/nmbd/nmbd_winsserver.c
index fecc5baac6134b1d6025aca878ea1e6063b92bb6..0a5b1c876477150360f595de1ea08a5f73f03b2c 100644
(file)
--- 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);