Memory leak exists in coders/ashlar.c. The WriteASHLARImage allocates a structure. However, when an exception is thrown, the allocated memory is not properly released, resulting in a potential memory leak.
```bash
==78968== Memcheck, a memory error detector
==78968== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==78968== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==78968==
==78968== HEAP SUMMARY:
==78968== in use at exit: 17,232 bytes in 4 blocks
==78968== total heap usage: 4,781 allocs, 4,777 frees, 785,472 bytes allocated
{
"sources": [
{
"imported": "2026-07-30T14:08:45.288Z",
"modified": "2026-06-23T17:16:42.963Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25969",
"published": "2026-02-24T02:16:01.807Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-25969",
"database_specific": {
"status": "Analyzed"
},
"id": "CVE-2026-25969"
},
{
"id": "GHSA-xgm3-v4r9-wfgm",
"html_url": "https://github.com/advisories/GHSA-xgm3-v4r9-wfgm",
"published": "2026-02-24T15:43:28Z",
"url": "https://api.github.com/advisories/GHSA-xgm3-v4r9-wfgm",
"modified": "2026-02-24T15:43:30Z",
"imported": "2026-07-30T14:09:18.059Z"
},
{
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-7431",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-7431",
"published": "2026-02-24T01:33:00Z",
"id": "EUVD-2026-7431",
"modified": "2026-06-23T15:48:46Z",
"imported": "2026-07-30T14:08:52.979Z"
}
],
"license": "CC-BY-4.0"
}