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
> 
> 


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to