diff options
| author | David Disseldorp <ddiss@samba.org> | 2014-11-06 11:32:45 +0100 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2014-11-10 19:00:00 +0100 |
| commit | 853b96f4db8d9e3e797bf4e8576ab5b12bdd6ace (patch) | |
| tree | 8ad49a9e09ebb40133797093fef047e5a2a45424 /source3/lib/eventlog | |
| parent | 6e86bd5dabf585643a176ee24a7064802576d555 (diff) | |
| download | samba-853b96f4db8d9e3e797bf4e8576ab5b12bdd6ace.tar.gz samba-853b96f4db8d9e3e797bf4e8576ab5b12bdd6ace.tar.xz samba-853b96f4db8d9e3e797bf4e8576ab5b12bdd6ace.zip | |
eventlog: Free tos talloced path.
Non-error code path was missed in the last talloc tos leak fix patch-set.
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Nov 10 19:00:01 CET 2014 on sn-devel-104
Diffstat (limited to 'source3/lib/eventlog')
| -rw-r--r-- | source3/lib/eventlog/eventlog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/eventlog/eventlog.c b/source3/lib/eventlog/eventlog.c index b63111e8cc..81957b1856 100644 --- a/source3/lib/eventlog/eventlog.c +++ b/source3/lib/eventlog/eventlog.c @@ -90,6 +90,7 @@ char *elog_tdbname(TALLOC_CTX *ctx, const char *name ) return NULL; } + talloc_free(path); return tdbname; } |
