lib/audit_logging: actually create talloc
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 18 Dec 2018 15:09:19 +0000 (16:09 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 1 Feb 2019 10:34:10 +0000 (11:34 +0100)
commit4588c1c704ae29f924c2c0d45aa55c1e0afc0055
treee4e585aa5ba0453fd459674f2e24b3c98dbe3af3
parent3b19257a7d31e525c2246c6c8c158d86cccb99a5
lib/audit_logging: actually create talloc

Heal damage of 79f494e51e..

That context is being passed around and freed but is never
actually allocated on that stack.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13737

Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 5c928d7cd1d0ac994fe95892eec235b939ad2ec9)
lib/audit_logging/audit_logging.c