Fix socket fd leak 50/69250/3 accepted/tizen/ivi/20160513.082347 accepted/tizen/mobile/20160513.082336 accepted/tizen/tv/20160513.082342 accepted/tizen/wearable/20160513.082332 submit/tizen/20160513.050341
authorHyunho Kang <hhstark.kang@samsung.com>
Thu, 12 May 2016 09:17:17 +0000 (18:17 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Thu, 12 May 2016 11:07:28 +0000 (20:07 +0900)
commit05321f75d44ffceacf8d1e13962223c4295348cb
tree31f8cda44f7b3fc6968a16bdef6087f0acb44c5a
parentd086387464ba40c1aa53889fed5d98fe7d251b2f
Fix socket fd leak

Uneccessary socket dup and send uneccessary fd using gdbus cause fd leak
It also cause sender didn't clear invalid opponent info which already
die.

Change-Id: Ifa79b3340ab5358ecfb1deb5791dc1d5df35ac5f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
src/message-port.c