Sometimes msl.c fails to update the stack index, so an image is stored in the wrong slot and never freed on error, causing leaks.
==841485==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 13512 byte(s) in 1 object(s) allocated from:
#0 0x7ff330759887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
{
"nvd_published_at": "2026-02-24T02:16:03Z",
"severity": "MODERATE",
"github_reviewed_at": "2026-02-24T15:45:13Z",
"cwe_ids": [
"CWE-401"
],
"github_reviewed": true
}