In an SDF star, on Linux...

If I create an object in a star's go method using

        MyClass *O = new MyClass();

but I never put this object into an envelope or send it to output (it is not
a Ptolemy "message"), do I still need to delete it within that star?  If so,
how and where?  I would assume I would use 

        delete O;

in the go method, but this causes a core dump.

Any help is appreciated.
Thanks

Beth Savoy
Corning, Inc
(607) 974-8813

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to