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.
This fix ensures that src_data is properly freed before returning when matrix inversion fails, preventing memory leaks in error conditions.
Signed-off-by: Jiajin Cui cuijiajin@uniontech.com