"Enlightenment SVN" <no-re...@enlightenment.org> writes:

> Log:
> yet another tedious null check for a free function, brought to you by people 
> who think wasting time is a good idea
>
>
> Author:       discomfitor
> Date:         2012-07-03 04:32:35 -0700 (Tue, 03 Jul 2012)
> New Revision: 73224
> Trac:         http://trac.enlightenment.org/e/changeset/73224
>
> Modified:
>   trunk/eio/src/lib/eio_monitor_poll.c
>
> Modified: trunk/eio/src/lib/eio_monitor_poll.c
> ===================================================================
> --- trunk/eio/src/lib/eio_monitor_poll.c      2012-07-03 11:22:46 UTC (rev 
> 73223)
> +++ trunk/eio/src/lib/eio_monitor_poll.c      2012-07-03 11:32:35 UTC (rev 
> 73224)
> @@ -182,7 +182,7 @@
>          if (ecore_thread_check(thread)) goto out;
>       }
>   out:
> -   eina_iterator_free(it);
> +   if (it) eina_iterator_free(it);
>
>     if (backend->initialised && !ecore_thread_check(thread))
>       {

Hmm, that shouldn't be necessary once Cedric commits the patch I sent yesterday.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to