lib/audit_logging: actually create talloc
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 18 Dec 2018 15:09:19 +0000 (16:09 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 20 Dec 2018 02:19:28 +0000 (03:19 +0100)
commit5c928d7cd1d0ac994fe95892eec235b939ad2ec9
treeed652f4ea69e61e07af61f1c7f7666b5c81263eb
parent35349fecbd075a5e5dd4c87be465d61c5104fb21
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.

Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/audit_logging/audit_logging.c