pfDelete question

New Message Reply Date view Thread view Subject view Author view

Ken Sakai (sakai++at++sgi600.msd.lmsc.lockheed.com)
Fri, 28 Jul 1995 18:01:38 -0700


I have a simple question regarding pfDelete.
If one does a pfDelete on a pfGeoSet, does one
have to worry about pfFree'ing the geoSet attribute
arrays that one can retrieve using pfGetGSetAttrLists()
and length arrays from pfGetGSetPrimLengths()? I have seen
code fragments that simply pfDelete the geoSet without
bothering with the aformentioned data. Would this result
in a memory leak or is the data automatically dereferenced
and deleted when the geoSet is deleted?

              Thanks,

Kenneth N. Sakai Email: sakai++at++lmsc.lockheed.com
Research Specialist/Computer Graphics Phone: (408) 756-0682
Lockheed Martin Missiles & Space
Sunnyvale, CA 94088-3504


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:42 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.