Fix memory leak on iotjs_module dns and iotjs_module tcp
authorSanggyu Lee <sg5.lee@samsung.com>
Fri, 29 Sep 2017 04:17:22 +0000 (13:17 +0900)
committerSanggyu Lee <sg5.lee@samsung.com>
Fri, 29 Sep 2017 04:58:05 +0000 (13:58 +0900)
commitff11b53469745299224a44bd795db825c240bebe
tree28a090ee99de432929b6ffbda779db781ad1b99e
parent486a406965b98de6045448dfdc05a1bf2c18c8eb
Fix memory leak on iotjs_module dns and iotjs_module tcp

Fix memory leak reported by SVACE.
external/iotjs/src/modules/iotjs_module_dns.c
external/iotjs/src/modules/iotjs_module_tcp.c