1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-07 00:58:40 +03:00

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
This commit is contained in:
David Disseldorp 2014-11-06 11:32:45 +01:00 committed by Andreas Schneider
parent 6e86bd5dab
commit 853b96f4db

View File

@ -90,6 +90,7 @@ char *elog_tdbname(TALLOC_CTX *ctx, const char *name )
return NULL;
}
talloc_free(path);
return tdbname;
}