Clean the logic in communication layer 85/31785/1 accepted/tizen/common/20141210.165735 submit/tizen_common/20141210.090430
authorBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Tue, 9 Dec 2014 18:59:30 +0000 (19:59 +0100)
committerBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Tue, 9 Dec 2014 19:01:40 +0000 (20:01 +0100)
commitc737cd75d68bfc0c9fd7ac762508223e67b9d5c4
tree14cc9cb47b5ab8904ef1b003d534dce5a4e5fda7
parentaf37254f7316272cbe4ec8ea0d84431175156ccd
Clean the logic in communication layer

Fix possible memory leak in case where the connection is not in connected state it were never free'd
Don't register the connection in gmainloop => this leads to crash in stress test

Bug-Tizen=TC-1808
Change-Id: If80e0ae2d33c115f62374c4bdb7030cc2bd6f11a
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
comm/comm_client_dbus.c