AUDIT: Defer freeing aux items until audit_free_context()
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>
Thu, 26 May 2005 11:04:57 +0000 (12:04 +0100)
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>
Thu, 26 May 2005 11:04:57 +0000 (12:04 +0100)
commit7551ced334ce6eb2a7a765309871e619f645add1
treeb34088792efdf335e6a2c02a9c97768da84a695a
parent37ca5389b863e5ffba6fb7c22331bf57dbf7764a
AUDIT: Defer freeing aux items until audit_free_context()

While they were all just simple blobs it made sense to just free them
as we walked through and logged them. Now that there are pointers to
other objects which need refcounting, we might as well revert to
_only_ logging them in audit_log_exit(), and put the code to free them
properly in only one place -- in audit_free_aux().

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
----------------------------------------------------------
kernel/auditsc.c