I don't know eio semantics, but it should incref the stringshared
handle and this code will leak reference.

There is a bug for sure, either in this code or in eio API.

Sent from my iPhone

On 16/08/2011, at 18:14, "Enlightenment SVN" <[email protected]> wrote:

> Log:
> eio: obvious typo !
>
>
> Author:       cedric
> Date:         2011-08-16 14:13:20 -0700 (Tue, 16 Aug 2011)
> New Revision: 62516
> Trac:         http://trac.enlightenment.org/e/changeset/62516
>
> Modified:
>  trunk/eio/src/lib/eio_monitor.c
>
> Modified: trunk/eio/src/lib/eio_monitor.c
> ===================================================================
> --- trunk/eio/src/lib/eio_monitor.c    2011-08-16 20:53:07 UTC (rev 62515)
> +++ trunk/eio/src/lib/eio_monitor.c    2011-08-16 21:13:20 UTC (rev 62516)
> @@ -162,7 +162,7 @@
>    const char *tmp;
>
>    tmp = eina_stringshare_add(path);
> -   return eio_monitor_stringshared_add(path);
> +   return eio_monitor_stringshared_add(tmp);
> }
>
> EAPI Eio_Monitor *
>
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to