Hey, I have a class that inherits form PObject, and im not sure how to manage the memory for it. In profiles, it shows up as leaks, so im sure im doing something wrong.
First, how do i figure our what type of PObject it is (Transient or Persistent)
.typ file looks like this:
table looks like:
Name Null Type
.. other types ...
when inserting in code:
ist* itemStatType = new ist;
and we never delete what we have new'ed, under the assumption that occi has taken ownership.
If this is not correct, when is the correct time to delete the values? (safely?) After statement->execute() ?