summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorElizabeth Figura <zfigura@codeweavers.com>2025-01-16 22:07:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-17 15:10:07 +0300
commit970b9757cb44c315b5c3da6b1b35a1ffb07cca5a (patch)
treeb7b6007e69e157a5b9815ca10319088c6c00764f /tools/perf/scripts/python/export-to-sqlite.py
parentc65b229699dec5affffd4d4972825c3b3a818e92 (diff)
downloadlinux-970b9757cb44c315b5c3da6b1b35a1ffb07cca5a.tar.xz
ntsync: Fix reference leaks in the remaining create ioctls.
When ntsync_obj_get_fd() fails, we free the ntsync object but forget to drop the "file" member. This was fixed for semaphores in 0e7d523b5f7a23b1dc6ceceb04e31a60e9e3321d, but that commit did not fix the similar leak for events and mutexes, since they were part of patches not yet in the mainline kernel. Fix those cases. Fixes: 5bc2479a3585b "ntsync: Introduce NTSYNC_IOC_CREATE_MUTEX." Fixes: 4c7404b9c2b57 "ntsync: Introduce NTSYNC_IOC_CREATE_EVENT." Signed-off-by: Elizabeth Figura <zfigura@codeweavers.com> Link: https://lore.kernel.org/r/20250116190717.8923-1-zfigura@codeweavers.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions