diff options
author | Stefan Schmidt <stefan@osg.samsung.com> | 2015-07-24 18:51:42 +0200 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2015-07-24 19:01:10 +0200 |
commit | 3b91d33da2d1f3ba6f35f66f6d921b0a2a566ce8 (patch) | |
tree | ec438d9b6399319b1ed22d3553b207c5443f5a9d | |
parent | 5b1e3b3a89afa648acc56186b81418d231250028 (diff) | |
download | efl-3b91d33da2d1f3ba6f35f66f6d921b0a2a566ce8.tar.gz |
evas/filter: Avoid leak in error path
If format is not found we go out of scope and would leak param. Free instead.
CID 1308610
-rw-r--r-- | src/lib/evas/filters/evas_filter_parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c index 0ea62a1136..bb3f38b0e3 100644 --- a/src/lib/evas/filters/evas_filter_parser.c +++ b/src/lib/evas/filters/evas_filter_parser.c @@ -401,6 +401,7 @@ _instruction_param_addv(Evas_Filter_Instruction *instr, const char *name, break; case VT_NONE: default: + free(param); return EINA_FALSE; } param->allow_seq = sequential; |