-
George Nash authored
This extends the endpoint struct for swig so the generated code will call oc_new_endpoint and oc_free_endpoint when new and finalize are called. Endpoint(s) are set to NULL after calling oc_free_endpoint or oc_free_server_endpoints is called from Java. This will prevent double freeing memory which would result in a segfault. code that returns or accept multiple endpoints in a list now indicate that fact because the variable name is plural 'endpoints' Change-Id: Id11a1c98e724bf44b7ab82e92a529f3859f6e936 Signed-off-by:
George Nash <george.nash@intel.com>
1ead4d2a