Skip to content

Commit

Permalink
SWORD25: Plug memory leak. CID 1003589
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Apr 23, 2013
1 parent c471a41 commit 3c0c6a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/sword25/gfx/image/vectorimage.cpp
Expand Up @@ -190,6 +190,7 @@ Common::Rect CalculateBoundingBox(const VectorImageElement &vectorImageElement)
ArtVpath *vec = art_bez_path_to_vec(bez, 0.5);

if (vec[0].code == ART_END) {
free(vec);
continue;
} else {
x0 = x1 = vec[0].x;
Expand Down

0 comments on commit 3c0c6a5

Please sign in to comment.