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: submit/trunk/20120815.180907~979 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08a664e96e566dbaafc5cc9eb5f571204a9e6ec5;p=profile%2Fivi%2Fedje.git * edje: fix segv when converting old theme with gradient. git-svn-id: http://svn.enlightenment.org/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;