Re: GSList and g_filename_from_uri free memory problem



On Thu, Feb 23, 2006 at 10:19:36AM +0100, Colossus wrote:

I don't have to store pointers to freed memory but the filename
without file:// and escaped sequences that g_filename_from_uri gives 
me back !

It does not matter whether you free the memory before or
after g_slist_prepend().  The result is exactly the same:
the list contains a pointer to freed memory.

Yeti


--
That's enough.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]