Re: [Fwd: Gio filechooser backend crash]
- From: Kjartan Maraas <kmaraas broadpark no>
- To: Olav Vitters <olav bkor dhs org>
- Cc: gnome-release-team <release-team gnome org>
- Subject: Re: [Fwd: Gio filechooser backend crash]
- Date: Fri, 07 Mar 2008 11:04:04 +0100
fr., 07.03.2008 kl. 09.51 +0100, skrev Olav Vitters:
> On Thu, Mar 06, 2008 at 11:33:56PM +0100, Kjartan Maraas wrote:
> > This is a freeze break request to fix a crash in the file chooser
> > backend.
>
> Not sure how to approve if I don't understand the patch -- could someone
> else review?
>
Alex, could you give some more details? I see in nautilus code that the
GFile * returned from g_file_icon_get_file is freed with g_free() so I'm
guessing this tried to unref something that wasn't supposed to be
unrefed. Shouldn't this be freed at all?
Cheers
Kjartan
> Content-Description: Videresendt melding - Gio filechooser backend crash
> > Index: gtkfilesystemgio.c
> > ===================================================================
> > --- gtkfilesystemgio.c (revision 5555)
> > +++ gtkfilesystemgio.c (working copy)
> > @@ -787,7 +787,6 @@ get_icon_string (GIcon *icon)
> >
> > icon_file = g_file_icon_get_file (G_FILE_ICON (icon));
> > name = g_file_get_path (icon_file);
> > - g_object_unref (icon_file);
> > }
> >
> > return name;
>
> Wouldn't that leak icon_file?
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]