diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-10-16 22:08:00 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-10-16 22:08:00 (GMT) |
commit | 4f2fdc0f97f49b26772c2a466d22fdf84eb0f6d5 (patch) | |
tree | 4fd3c04091aaddfbe8347027bc6eb37c9f08d97a /src/analysis/scan/patterns | |
parent | 981b1d41a2102bcd7a432a81c9bd6979b8c6d6c4 (diff) |
Improve the code and fix mistakes.
Diffstat (limited to 'src/analysis/scan/patterns')
-rw-r--r-- | src/analysis/scan/patterns/modifiers/list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/scan/patterns/modifiers/list.c b/src/analysis/scan/patterns/modifiers/list.c index 285b89d..86fd19f 100644 --- a/src/analysis/scan/patterns/modifiers/list.c +++ b/src/analysis/scan/patterns/modifiers/list.c @@ -239,9 +239,9 @@ bool g_scan_modifier_list_add(GScanModifierList *list, GScanTokenModifier *modif } - } + free(name); - free(name); + } if (!result) goto done; |