| Summary: | patch: Plug memory leak when parsing colormap of XCF file | ||
|---|---|---|---|
| Product: | SDL_image | Reporter: | janisozaur <janisozaur+libsdl> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | janisozaur+libsdl |
| Version: | 2.0.4 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: |
Plug_memory_leak_when_parsing_colormap_of_XCF_file.patch
bug-4638.xcf |
||
Created attachment 3789 [details]
bug-4638.xcf
Patch added, thanks! https://hg.libsdl.org/SDL_image/rev/5112afb71c02 |
Created attachment 3788 [details] Plug_memory_leak_when_parsing_colormap_of_XCF_file.patch prop.data.colormap.cmap is allocated, but not freed. This patch fixes the issue