Menu

Who should delete the Method?

Help
newhappy
2007-03-30
2013-04-24
  • newhappy

    newhappy - 2007-03-30

    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

     
    • quique123

      quique123 - 2007-05-11

      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

       

Log in to post a comment.