* edje: fix segv when converting old theme with gradient.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 12 Aug 2010 15:29:00 +0000 (15:29 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 12 Aug 2010 15:29:00 +0000 (15:29 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51049 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_convert.c

index 3d3aa81..66cd8da 100644 (file)
@@ -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;