summaryrefslogtreecommitdiff
path: root/sound/hda/hdac_i915.c
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2019-07-25 12:52:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-06 19:06:54 +0200
commit46650ac2e1d89687175547a9f67e1bd70eb1c924 (patch)
treed4e48079fe8f923837da519eec2066c52f34b5da /sound/hda/hdac_i915.c
parente7bb4c81b3c791c7eab7fbfc2a312c7442aad5a6 (diff)
selinux: fix memory leak in policydb_init()
commit 45385237f65aeee73641f1ef737d7273905a233f upstream. Since roles_init() adds some entries to the role hash table, we need to destroy also its keys/values on error, otherwise we get a memory leak in the error path. Cc: <stable@vger.kernel.org> Reported-by: syzbot+fee3a14d4cdf92646287@syzkaller.appspotmail.com Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/hda/hdac_i915.c')
0 files changed, 0 insertions, 0 deletions