If a Method is created by new or malloc,which means dynamic creation and is passed to a Service object,who should delete Method? Devlopper or Service self?
thx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If a Method is created by new or malloc,which means dynamic creation and is passed to a Service object,who should delete Method? Devlopper or Service self?
thx
I think you mean with "Method" an interface class to be added in the server, in XmlRpc++ that is a children of the class XmlRpcServerMethod.
I also think, that with "delete the Method" you mean, delete the Method object.
If you created the Method object with "new", then, you have to "delete" the object.
Jose