We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7cbe03 commit 2d24773Copy full SHA for 2d24773
1 file changed
src/auditd-reconfig.c
@@ -63,15 +63,15 @@ int start_config_manager(struct auditd_event *e)
63
config_thread_main, e) > 0) {
64
audit_msg(LOG_ERR,
65
"Couldn't create config thread, no config changes");
66
- free(e);
+ cleanup_event(e);
67
pthread_mutex_unlock(&config_lock);
68
rc = 1;
69
}
70
pthread_attr_destroy(&detached);
71
} else {
72
73
"Config thread already running, no config changes");
74
75
76
77
return rc;
@@ -115,7 +115,7 @@ static void *config_thread_main(void *arg)
115
&e->reply, "failed");
116
send_audit_event(AUDIT_DAEMON_CONFIG, txt);
117
free_config(&new_config);
118
119
120
121
0 commit comments