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

-- 
Live as if you were to die tomorrow.
Learn as if you were to live forever.
 - Gandhi


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

Reply via email to