summaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2025-08-02 12:39:39 +0200
committerThomas Gleixner <tglx@linutronix.de>2025-08-05 21:55:29 +0200
commit5468c0fbccbb9d156522c50832244a8b722374fb (patch)
tree279ffe5fe42df3486392902972a95d3b96ff7322 /scripts/gdb
parent54473e0ef849f44e5ee43e6d6746c27030c3825b (diff)
perf/core: Don't leak AUX buffer refcount on allocation failure
Failure of the AUX buffer allocation leaks the reference count. Set the reference count to 1 only when the allocation succeeds. Fixes: 45bfb2e50471 ("perf: Add AUX area to ring buffer for raw data streams") Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions