Re: GSList and g_filename_from_uri free memory problem
- From: Colossus <colossus 3000 it>
- To: Stefan Kost <ensonic hora-obscura de>, gtk-app-devel-list gnome org
- Cc:
- Subject: Re: GSList and g_filename_from_uri free memory problem
- Date: Thu, 23 Feb 2006 10:49:06 +0100
Stefan Kost wrote:
just don't fre the filenames now. Free the filenames when you free the
list.
Ok, but you see the while loop ? if the user drags 10 files from
Nautilis window inside Xarchiver ( my app ) window, when I issue
g_free later I will only free the last pointer gave me back from
g_filename_from_uri and what the others nine ones ?
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager -
http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]