[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSTabView bug
From: |
Nicola Pero |
Subject: |
Re: NSTabView bug |
Date: |
Wed, 17 Oct 2001 05:50:46 +0100 (BST) |
Thanks, applied
> Hi,
>
> In NSTabView: -dealloc, we have:
>
> - (void) dealloc
> {
> RELEASE(tab_items);
> TEST_RELEASE(tab_selected);
> RELEASE(tab_font);
> [super dealloc];
> }
>
> and we should have:
>
> - (void) dealloc
> {
> RELEASE(tab_items);
> RELEASE(tab_font);
> [super dealloc];
> }
>
> Since tab_selected is already released in RELEASE(tab_items); and it will
> cause a segfault we this tab_selected object is in the autorelease pool or
> if we try to release it when we're done.
>
> Ludo
>
>
- NSTabView bug, Ludovic Marcotte, 2001/10/17
- Re: NSTabView bug,
Nicola Pero <=