summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-07-11 16:09:31 +0900
committerHermet Park <hermetpark@gmail.com>2018-07-11 16:09:31 +0900
commite7bb795aba01ad0def75c2c3b6eac2cdfe47cdd0 (patch)
tree8e9f3b847aec88e49c3f4f8666d9f9cd18b68c3b
parentb29209ac4b0ce65179866b86f033f7ee0ef780d3 (diff)
canvas vg_loader: close opened file after using it.
Summary: Here opened eina file is just leaked. close it properly. @fix. Reviewers: devilhorns, #committers, zmike Reviewed By: #committers, zmike Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6549
-rw-r--r--src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c b/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
index 867d95c9df..61f443b806 100644
--- a/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
+++ b/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
@@ -2371,6 +2371,7 @@ evas_vg_load_file_data_svg(const char *file, const char *key EINA_UNUSED, int *e
2371 *error = EVAS_LOAD_ERROR_GENERIC; 2371 *error = EVAS_LOAD_ERROR_GENERIC;
2372 } 2372 }
2373 free(loader.svg_parse); 2373 free(loader.svg_parse);
2374 eina_file_close(f);
2374 return vg_common_create_vg_node(loader.doc); 2375 return vg_common_create_vg_node(loader.doc);
2375} 2376}
2376 2377