From 14cd1bc9384cc08734caae0a0962d5b27e326be9 Mon Sep 17 00:00:00 2001 From: Megalanthus Date: Sat, 24 Aug 2024 14:08:05 +0700 Subject: [PATCH] Fix clear memory. --- CHANGELOG.md | 6 ++++++ gamepush/src/main.cpp | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e76e0a8..9a865fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +# [v1.2.1](https://github.com/megalanthus/defold-gamepush/releases/tag/v1.2.1) (2024-08-25) + +**Fixed** + +- Fix clear memory + # [v1.2.0](https://github.com/megalanthus/defold-gamepush/releases/tag/v1.2.0) (2024-06-07) **Fixed** diff --git a/gamepush/src/main.cpp b/gamepush/src/main.cpp index d308bb1..04defbd 100644 --- a/gamepush/src/main.cpp +++ b/gamepush/src/main.cpp @@ -98,7 +98,6 @@ static int CallApi(lua_State* L) } else { lua_pushstring(L, result); } - free((void*)result); return 1; }