aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
authorPaul Gilbert2010-10-19 10:03:38 +0000
committerPaul Gilbert2010-10-19 10:03:38 +0000
commit6a1e874447e86d243a6cdd5bd95f0d95a1333059 (patch)
tree1f95eb0621cea27eb91581dd079467bfcf337194 /engines/sword25
parent4caa1d40a8cdfc7efad298f607eddd9cd7e6019e (diff)
downloadscummvm-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')
-rw-r--r--engines/sword25/gfx/image/vectorimagerenderer.cpp2
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);
}