commit 918df625733f9958ecfa5473dbaa5a9ddac9f334
parent 0069235374e13fbb587ba602b8cee379cb9cca46
Author: Remy Noulin <loader2x@gmail.com>
Date: Thu, 27 Feb 2025 21:16:07 +0200
fix bug in emoji freeEm
emoji.c | 2 +-
package.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/emoji.c b/emoji.c
@@ -14,7 +14,7 @@ bool allocEmList(void) {
}
void freeEmList(void) {
- if (!emList) {
+ if (emList) {
terminateG(emList);
emList = NULL;
}
diff --git a/package.yml b/package.yml
@@ -1,6 +1,6 @@
---
name: emoji
- version: 0.0.4
+ version: 0.0.5
description: emoji list in a C header
bin: ./emoji.c
repository: