diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-20 14:54:17 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-20 14:58:11 +0000 |
| commit | 795ccf60023fd76893345c8ef6cefd535004a240 (patch) | |
| tree | f1bdca21aa8ee707f9de02a06a7e15783af4235a | |
| parent | 4e09175fdaaffc0483fc9bf767311268794d956c (diff) | |
| download | puzzles-795ccf60023fd76893345c8ef6cefd535004a240.zip puzzles-795ccf60023fd76893345c8ef6cefd535004a240.tar.gz puzzles-795ccf60023fd76893345c8ef6cefd535004a240.tar.bz2 puzzles-795ccf60023fd76893345c8ef6cefd535004a240.tar.xz | |
GTK: Free error message if new_window fails
This is kind of pointless because it comes just before a return from
main(), but it's pretty harmless and it cheers up AddressSanitizer.
| -rw-r--r-- | gtk.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4115,6 +4115,7 @@ int main(int argc, char **argv) if (!fe) { fprintf(stderr, "%s: %s\n", pname, error); + sfree(error); return 1; } |