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>