1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

journald: no need to free audit vars

This commit is contained in:
Lennart Poettering 2013-04-08 15:48:12 +02:00
parent adb435bb70
commit 7120511888

View File

@ -543,10 +543,13 @@ static void dispatch_message_real(
machine_id[sizeof("_MACHINE_ID=") + 32] = "_MACHINE_ID=";
char _cleanup_free_ *comm = NULL, *cmdline = NULL, *hostname = NULL,
*audit_session = NULL, *audit_loginuid = NULL,
*exe = NULL, *cgroup = NULL, *session = NULL,
*owner_uid = NULL, *unit = NULL, *selinux_context = NULL;
#ifdef HAVE_AUDIT
char _cleanup_free_ *audit_session = NULL, *audit_loginuid = NULL;
#endif
sd_id128_t id;
int r;
char *t;