aboutsummaryrefslogtreecommitdiff
path: root/lib/parser.c
diff options
context:
space:
mode:
authorGravatar Paul Moore <paul@paul-moore.com> 2020-04-21 09:10:56 -0400
committerGravatar Paul Moore <paul@paul-moore.com> 2020-04-22 15:23:10 -0400
commit3054d06719079388a543de6adb812638675ad8f5 (patch)
tree4098fe58abae1e7d64162498c83a4423142189ad /lib/parser.c
parentaudit: fix a net reference leak in audit_send_reply() (diff)
downloadlinux-3054d06719079388a543de6adb812638675ad8f5.tar.gz
linux-3054d06719079388a543de6adb812638675ad8f5.tar.bz2
linux-3054d06719079388a543de6adb812638675ad8f5.zip
audit: fix a net reference leak in audit_list_rules_send()
If audit_list_rules_send() fails when trying to create a new thread to send the rules it also fails to cleanup properly, leaking a reference to a net structure. This patch fixes the error patch and renames audit_send_list() to audit_send_list_thread() to better match its cousin, audit_send_reply_thread(). Reported-by: teroincn@gmail.com Reviewed-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions