Evas: Filter: Don't leak keys either.
authornash <nash@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 21 Apr 2011 06:01:56 +0000 (06:01 +0000)
committernash <nash@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 21 Apr 2011 06:01:56 +0000 (06:01 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58775 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_filter.c

index 21ab39c..764c489 100644 (file)
@@ -462,6 +462,7 @@ void
 evas_filter_free(Evas_Object *o)
 {
    if (!o->filter) return;
+   if (o->filter->key) free(o->filter->key);
    free(o->filter);
    o->filter = NULL;
 }