diff options
author | Paul Gilbert | 2010-10-19 10:03:38 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-10-19 10:03:38 +0000 |
commit | 6a1e874447e86d243a6cdd5bd95f0d95a1333059 (patch) | |
tree | 1f95eb0621cea27eb91581dd079467bfcf337194 /engines/sword25/gfx/image/vectorimagerenderer.cpp | |
parent | 4caa1d40a8cdfc7efad298f607eddd9cd7e6019e (diff) | |
download | scummvm-rg350-6a1e874447e86d243a6cdd5bd95f0d95a1333059.tar.gz scummvm-rg350-6a1e874447e86d243a6cdd5bd95f0d95a1333059.tar.bz2 scummvm-rg350-6a1e874447e86d243a6cdd5bd95f0d95a1333059.zip |
SWORD25: Fix for Valgrind identified memory leak
svn-id: r53611
Diffstat (limited to 'engines/sword25/gfx/image/vectorimagerenderer.cpp')
-rw-r--r-- | engines/sword25/gfx/image/vectorimagerenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/gfx/image/vectorimagerenderer.cpp b/engines/sword25/gfx/image/vectorimagerenderer.cpp index d4c1a9c0f1..43ac8683ac 100644 --- a/engines/sword25/gfx/image/vectorimagerenderer.cpp +++ b/engines/sword25/gfx/image/vectorimagerenderer.cpp @@ -382,7 +382,7 @@ void drawBez(ArtBpath *bez1, ArtBpath *bez2, art_u8 *buffer, int width, int heig art_rgb_svp_alpha1(svp, 0, 0, width, height, color, buffer, width * 4); free(vect); - free(svp); + art_svp_free(svp); free(vec); } |