[ROOT] Again: BUG in TGButton(Group)!

From: Thomas Bretz (tbretz@uni-sw.gwdg.de)
Date: Fri Oct 26 2001 - 12:28:58 MEST


Hi rooters,

I looked a bit deeper into the problem and it is the follwoing:

~TGButtonGroup calls TGButton::SetGroup of all buttons in the group.
~TGRadioButton calls TGButtonGroup::RemoveBind via GetMainFrame
MainFrame::removeBind

In other words:
If I create a button group with buttons and want to clean up (delete)
all objects sometimes to prevent memory leaks it will result in a
segfault in any case!

Best regards,
Thomas.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:04 MET