On Wed, 30 Jan 2013 20:06:19 +0200 Raphael Kubo da Costa
<raphael.kubo.da.co...@intel.com> wrote:

> Tom Hacohen <tom.haco...@samsung.com> writes:
> 
> > ==24639== 736 (512 direct, 224 indirect) bytes in 2 blocks are
> > definitely lost in loss record 152 of 189
> [...]
> > Evas leaks now...
> 
> I get different results here with the attached program. Namely, the
> blocks are marked as still reachable instead of definitely lost. This
> is more in line with what I said I was expecting: since we don't call
> FcFini(), some objects are not deleted before shutdown. 

<separating this bit so it's clear what I'm replying to>

> In the end, free()ing some pointers at exit and just exiting
> shouldn't be much different in practice.

That's true in POSIX land, but I'm not so sure that's true in Windows
land.  Someone correct me if I'm wrong.

> Of course, making Valgrind happier is a good thing, so I'm open to
> alternative ideas on how to fix the original problem :-)

I don't have other ideas.  Things like elementary want to simplify
users code by just opening and closing everything for you.  This sort
of thing might apply to other internally used libraries as well, some
random bit of software might open up those libraries and use them
independently, and those libraries might not be clever enough to cope
with multiple openings and closings.

I know that some of us might just say "don't try to work around EFL,
work with it instead, let EFL handle it all for you".  It then becomes
a problem for people wanting to also use other libraries with the same
attitude.  lol

I had a similar problem with using a 3D library with EFL, both wanted
to open their own OpenGL context, and neither would share one out of
the box, while OpenGL really wanted just one context.  So one or the
other library had to be patched so they would cooperate.  I really did
spent a lot of time trying to find a non patch solution.

It's a general problem.  It wont have a one size fits all solution.
Soooo, back to dealing with the fontconfig version of the problem.  B-)

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to