2013-01-08 Jaehwan Kim
* Fix the bug which the callbacks of the sub-object are added even if the sub-object is added the parent object.
+
+2013-01-10 Shinwoo Kim
+
+ * backport r82456: Fix potential problem which would cause resource leak.
Fixes:
+ * Fix potential problem which would cause resource leak.
* Fix omitting signal emission when customized text parts change the text.
* Fix the bug which the callbacks of the sub-object are added even if the sub-object is added the parent object.
{
char *ret;
Eina_Strbuf *buf;
- buf = eina_strbuf_new();
int r = 0, g = 0, b = 0 ,a = 0;
Elm_Color_Item *it = data;
elm_colorselector_palette_item_color_get((Elm_Object_Item *)it, &r, &g, &b, &a);
+ buf = eina_strbuf_new();
eina_strbuf_append_printf(buf, "red %d, green %d, blue %d, alpha %d", r, g, b, a);
ret = eina_strbuf_string_steal(buf);
eina_strbuf_free(buf);