Fix memory leak in caqueueingthread
free preallocated memory on failure and return CA_MEMORY_ALLOC_FAILED. Change-Id: I9f5b9591b96d9dd0bf96bbaf7e9c5a6407ad831e Signed-off-by:Chetan Toshniwal <c.toshniwal@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/1671Reviewed-by:
Erich Keane <erich.keane@intel.com> Tested-by:
jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Showing