Re: [E-devel] E SVN: devilhorns trunk/ecore/src/lib/ecore_wayland

2012-03-08 Thread Christopher Michael
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


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: devilhorns trunk/ecore/src/lib/ecore_wayland

2012-03-08 Thread Michael Blumenkrantz
On Thu, 08 Mar 2012 10:53:17 -0500
Christopher Michael cpmicha...@comcast.net 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/AtU/mjlZZiXYFiY/s1600/TheMoreYouKnow.jpg

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: devilhorns trunk/ecore/src/lib/ecore_wayland

2012-03-07 Thread Sebastian Dransfeld
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.

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel