From f7448b57d5126857fb9a7641a5ffe6773a4af194 Mon Sep 17 00:00:00 2001 From: iobyte Date: Sun, 3 Oct 2021 22:24:37 +0000 Subject: [PATCH] accc: fix memory leak git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7701 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: e498629a1249c09d9e7696ba0727b27254002b56 Former-commit-id: e514cd289532fa3d5a0eb67f29115bc015a5aa2c --- src/tools/accc/ac3dload.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/accc/ac3dload.cpp b/src/tools/accc/ac3dload.cpp index 4e7f29d9f..d11e17420 100644 --- a/src/tools/accc/ac3dload.cpp +++ b/src/tools/accc/ac3dload.cpp @@ -3700,6 +3700,8 @@ void stripifyOb(ob_t * object, int writeit) object->numvertice = k; object->numsurf = k / 3; } + else + free(stripvertexarray); free(StripPoint); free(StripStart); free(StripLength);