Alexandre Julliard pushed to branch master at wine / wine
Commits: 9250ecc5 by Jiajin Cui at 2025-11-11T22:39:31+01:00 gdiplus: Add memory cleanup on matrix inversion failure.
Added proper cleanup for allocated memory when matrix inversion fails in GdipDrawImagePointsRect function. Previously, if GdipInvertMatrix returned an error status, the function would return immediately without freeing the src_data buffer that was allocated earlier in the function, causing a memory leak.
Signed-off-by: Jiajin Cui cuijiajin@uniontech.com
- - - - -
1 changed file:
- dlls/gdiplus/graphics.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/9250ecc5a6a64c73aada0ea75181541...