Re: GSList and g_filename_from_uri free memory problem
- From: "David Necas (Yeti)" <yeti physics muni cz>
- To: Colossus <colossus 3000 it>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GSList and g_filename_from_uri free memory problem
- Date: Thu, 23 Feb 2006 10:29:57 +0100
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]