Re: Leak and strange code in nautilus-file.c
- From: Alexander Larsson <alexl redhat com>
- To: Kjartan Maraas <kmaraas broadpark no>
- Cc: nautilus-list gnome org
- Subject: Re: Leak and strange code in nautilus-file.c
- Date: Fri, 28 Jan 2005 15:42:12 +0100
On Thu, 2005-01-27 at 12:31 +0100, Alexander Larsson wrote:
>
> I don't understand how this could leak.
> file->details->cached_display_name should always be freed when the
> file
> is freed.
>
> Also, i don't understand your problem with
> nautilus_file_display_name_nocopy(). It never sets name if its already
> been set to non-NULL in the function, except in one place where we
> free
> it first.
crispin on irc pointed out the leak. Should be fixed now.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a notorious day-dreaming dwarf with no name. She's a high-kicking mutant
barmaid from aristocratic European stock. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]