summaryrefslogtreecommitdiff
path: root/src/lib/edje
diff options
context:
space:
mode:
authorGodly T.Alias <godlytalias@yahoo.co.in>2017-02-15 16:29:05 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-02-15 16:29:07 -0800
commit48627996d767b72aef15c33eea5a95c804525a01 (patch)
tree4f48429edca03a6fb5b4bc789153decafecd69ce /src/lib/edje
parentae5d00246667e0a37b123fef4618b670021f5d9e (diff)
efl: fix memory leak in edje and evas.
Summary: Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in> Signed-off-by: Ayush Srivastava <ayush.sriv@samsung.com> Test Plan: EFL apps Reviewers: cedric, raster Subscribers: rajeshps, ayush.sriv, jpeg, prince.dubey Differential Revision: https://phab.enlightenment.org/D4660 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_load.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index aa9c14c276..3a0b8fd36a 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -1943,6 +1943,12 @@ _edje_file_del(Edje *ed)
1943 free(rp->typedata.text); 1943 free(rp->typedata.text);
1944 rp->typedata.text = NULL; 1944 rp->typedata.text = NULL;
1945 } 1945 }
1946 else if ((rp->type == EDJE_PART_TYPE_VECTOR) &&
1947 (rp->typedata.vector))
1948 {
1949 free(rp->typedata.vector);
1950 rp->typedata.vector = NULL;
1951 }
1946 else if ((rp->type == EDJE_RP_TYPE_SWALLOW) && 1952 else if ((rp->type == EDJE_RP_TYPE_SWALLOW) &&
1947 (rp->typedata.swallow)) 1953 (rp->typedata.swallow))
1948 { 1954 {