From: cedric Date: Thu, 12 Aug 2010 15:29:00 +0000 (+0000) Subject: * edje: fix segv when converting old theme with gradient. X-Git-Tag: 2.0_alpha~163^2~376 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72c8742b15a2cb916799c36b6c2eca93cc7827d1;p=framework%2Fuifw%2Fedje.git * edje: fix segv when converting old theme with gradient. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51049 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/edje_convert.c b/src/bin/edje_convert.c index 3d3aa81..66cd8da 100644 --- a/src/bin/edje_convert.c +++ b/src/bin/edje_convert.c @@ -451,7 +451,8 @@ _edje_description_convert(int type, CONVERT_ALLOC_POOL(EXTERNAL, External, external_params); } - *result = oed->common; + if (result) + *result = oed->common; free(oed); return result;