From: Holger Schemel Date: Sat, 16 Mar 2024 11:47:04 +0000 (+0100) Subject: fixed freeing caveset data X-Git-Tag: 4.4.0.0-test-1~185 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=8520e9b214c5feebde66b88b1304ab5ca8aa3274;p=rocksndiamonds.git fixed freeing caveset data --- diff --git a/src/game_bd/bd_caveset.c b/src/game_bd/bd_caveset.c index af02d741..e7f292b6 100644 --- a/src/game_bd/bd_caveset.c +++ b/src/game_bd/bd_caveset.c @@ -118,7 +118,7 @@ void gd_caveset_clear(void) if (gd_caveset_data) { - free(gd_caveset_data); + gd_caveset_data_free(gd_caveset_data); gd_caveset_data = NULL; }