forked from enlightenment/efl
double free of callbakcs! no no no - don't do that!
SVN revision: 3315
This commit is contained in:
parent
81ba1e730a
commit
f59266a099
|
@ -12,7 +12,6 @@ _evas_free_gradient_box(Evas_Object o)
|
|||
Evas_Object_Gradient_Box oo;
|
||||
|
||||
oo = o;
|
||||
if (o->callbacks) evas_list_free(o->callbacks);
|
||||
if (oo->current.gradient) evas_gradient_free(oo->current.gradient);
|
||||
free(o);
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@ _evas_free_image(Evas_Object o)
|
|||
Evas_Object_Image oo;
|
||||
|
||||
oo = o;
|
||||
if (o->callbacks) evas_list_free(o->callbacks);
|
||||
if (oo->current.file) free(oo->current.file);
|
||||
free(o);
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@ _evas_free_line(Evas_Object o)
|
|||
Evas_Object_Line oo;
|
||||
|
||||
oo = o;
|
||||
if (o->callbacks) evas_list_free(o->callbacks);
|
||||
free(o);
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@ _evas_free_rectangle(Evas_Object o)
|
|||
Evas_Object_Rectangle oo;
|
||||
|
||||
oo = o;
|
||||
if (o->callbacks) evas_list_free(o->callbacks);
|
||||
free(o);
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@ _evas_free_text(Evas_Object o)
|
|||
Evas_Object_Text oo;
|
||||
|
||||
oo = o;
|
||||
if (o->callbacks) evas_list_free(o->callbacks);
|
||||
if (oo->current.text) free(oo->current.text);
|
||||
free(o);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue