The documentation on the SyncML Toolkit does not describe how to free the allocated memory for the XML document.
The function : Ret_t mgrResetWorkspace (InstanceID_t id);
is a private one.
And the function : SML_API Ret_t smlFreeProtoElement(VoidPtr_t pProtoElement);
seems to be never called from the SyncML toolkit itself.
Do I have to break down and free the document myself after sending, or should the toolkit take care of this? Or refrased : Is it a feature or a bug ;-)
Please give me a clue here.
Marc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The documentation on the SyncML Toolkit does not describe how to free the allocated memory for the XML document.
The function : Ret_t mgrResetWorkspace (InstanceID_t id);
is a private one.
And the function : SML_API Ret_t smlFreeProtoElement(VoidPtr_t pProtoElement);
seems to be never called from the SyncML toolkit itself.
Do I have to break down and free the document myself after sending, or should the toolkit take care of this? Or refrased : Is it a feature or a bug ;-)
Please give me a clue here.
Marc