Page 1 of 1

NatNet client memory management

Posted: Wed Nov 14, 2012 10:29 am
by JeDi
Hi,

I am using the NatNet client class in C++, and I was wondering if I had to do any memory cleanup. The samples doesn't seem to clean up any memory. The functions I am talking about:

SendMessageAndWait writes to a void* message. How is that memory managed?

GetDataDescriptions writes to a sDataDescriptions** struct. Do I have to delete the struct afterwards?

I guess the memory of the parameters in the data and message callbacks are managed internally?

Greetings,
JeDi