Fix bug - wrong decrease connection count 42/47342/2
authorSunggoo Kim <sung.goo.kim@samsung.com>
Wed, 29 Apr 2015 09:46:04 +0000 (18:46 +0900)
committergukhwan cho <gh78.cho@samsung.com>
Thu, 3 Sep 2015 06:25:38 +0000 (23:25 -0700)
Change-Id: I10e21e39158a4478573e0a162eadac04ba0087b1

client/ctsvc_client_ipc.c

index 5c36072..a052f72 100644 (file)
@@ -226,9 +226,6 @@ int ctsvc_ipc_disconnect(contacts_h contact, int connection_count)
                        return ret;
                }
 
-               ctsvc_base_s *base = (ctsvc_base_s *)contact;
-               base->connection_count--;
-
                if (1 == connection_count) {
                        pims_ipc_destroy(__contacts_global_ipc);
                        __contacts_global_ipc = NULL;