From 2051466638cd76a54bdb8eb05edc4314a73b9910 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Sat, 31 Jul 2010 05:17:56 +0000 Subject: [PATCH] new can of grandma's LEEK B GON git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@50707 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_edit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/edje_edit.c b/src/lib/edje_edit.c index 992caee..1096306 100644 --- a/src/lib/edje_edit.c +++ b/src/lib/edje_edit.c @@ -318,6 +318,8 @@ _edje_import_font_file(Edje *ed, const char *path, const char *entry) } if (fread(fdata, fsize, 1, f) != 1) { + free(fdata); + fclose(f); ERR("Unable to read all of font file \"%s\"", path); return EINA_FALSE; } -- 2.7.4