IOT-1761 Fix memory leak in InProcServerWrapper::sendResponse
IOT-1761 Fix memory leak in InProcServerWrapper::sendResponse

This change ensures that the OCPayload object gets cleaned up properly in
InProcServerWrapper::sendResponse().

Change-Id: Id242fc3823c2c2cb5db3dd75324c3fa9fb2cd8c0
Signed-off-by: Way Vadhanasin <6677afd41eee20f8edc6a725b43024602ec13be2@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16571
Tested-by: jenkins-iotivity <d95b56ce41a2e1ac4cecdd398defd7414407cc08@iotivity.org>
Reviewed-by: Uze Choi <3a26c91d8a4a3c9e246e43339f4782bb2483aece@samsung.com>
Reviewed-by: Kevin Kane <cd40c34e976f30c9e62efcf24e04c516bc3a3b05@microsoft.com>
Reviewed-by: byonggon chun <3cba36b693f6b2589fe47d4083dd75421e0c8ac7@samsung.com>
Reviewed-by: Dan Mihai <ba8e1833495515b49ded9e20cae80a8129155aa9@microsoft.com>
Reviewed-by: Dave Thaler <8a98d0850f57b73c42d096f8f8b11e2d5522d554@microsoft.com>
Reviewed-by: Mike Fenelon <765c1ea1ad8b7b919b9c046cb20b518277e493ca@microsoft.com>

rzr/iotivity,iotivity/iotivity,rzr/iotivity,iotivity/iotivity,iotivity/iotivity,rzr/iotivity,iotivity/iotivity,rzr/iotivity,iotivity/iotivity,rzr/iotivity,iotivity/iotivity,rzr/iotivity,rzr/iotivity,iotivity/iotivity,iotivity/iotivity