commit 11340adebdf97b0a2af5e6d26cb4ab9b91b795e6
parent 95688818eec1cd097fb4ea1f8c37bc6b21e31699
Author: Frederic Cambus <fred@statdns.com>
Date: Fri, 20 Mar 2020 14:22:54 +0100
Remove the free() calls on exit, it caused issues when using -f and -p switches.
Diffstat:
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/bdf2sfd.c b/src/bdf2sfd.c
@@ -4,7 +4,7 @@
* https://github.com/fcambus/bdf2sfd
*
* Created: 2019-11-21
- * Last Updated: 2020-02-12
+ * Last Updated: 2020-03-20
*
* bdf2sfd is released under the BSD 2-Clause license
* See LICENSE file for details
@@ -286,10 +286,5 @@ main(int argc, char *argv[])
/* Clean up */
fclose(bdfFile);
- free(font.name);
- free(font.psname);
- free(font.copyright);
- free(font.version);
-
return EXIT_SUCCESS;
}