From: Michael B. <mic...@gm...> - 2012-03-08 15:57:07
|
On Thu, 08 Mar 2012 10:53:17 -0500 Christopher Michael <cpm...@co...> wrote: > On 03/08/2012 02:49 AM, Sebastian Dransfeld wrote: > > On 03/07/2012 10:46 PM, Enlightenment SVN wrote: > > > >> + > >> +static void > >> +_ecore_wl_cb_interfaces_bound_free(void *data __UNUSED__, void *event) > >> +{ > >> + Ecore_Wl_Event_Interfaces_Bound *ev; > >> + > >> + LOGFN(__FILE__, __LINE__, __FUNCTION__); > >> + > >> + if ((ev = event)) free(ev); > >> +} > > > > free(event) is the default handler, so you can remove this. > > > > S. > > > > Ahh, did not know that. Thanks :) > > Cheers, > dh http://4.bp.blogspot.com/-vXHjGecJ9Nk/Tza-SimS1_I/AAAAAAAAAtU/mjlZZiXYFiY/s1600/TheMoreYouKnow.jpg |