| commit | 22fb7eaa8cdebd729f51799bb49ffacfde437775 | [log] [tgz] |
|---|---|---|
| author | Olivia Lee <olivia.lee@collabora.com> | Wed May 14 13:44:33 2025 -0700 |
| committer | Marge Bot <marge-bot@fdo.invalid> | Fri May 16 14:28:50 2025 +0000 |
| tree | 87e7add33cc17c245039a95b80dbce9533aa1c6c | |
| parent | 1895de16a6ba00bf87b21400b1506bdf144c767e [diff] |
util/u_printf: fix memory leak in u_printf_singleton_add_serialized
info->arg_sizes and info->strings were leaked because they were
allocated in the global context.
Fixes: 007f60c8b8d ("util/u_printf: add singleton implementation")
Signed-off-by: Olivia Lee <olivia.lee@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34987>