• David Woodhouse's avatar
    AUDIT: Defer freeing aux items until audit_free_context() · 7551ced3
    David Woodhouse authored
    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: default avatarDavid Woodhouse <dwmw2@infradead.org>
    ----------------------------------------------------------
    7551ced3
auditsc.c 30 KB