connection: Only take service ref when saving service
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 18 Jan 2012 14:46:36 +0000 (16:46 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 20 Jan 2012 00:42:07 +0000 (01:42 +0100)
commit282188d62b9f81f1a46fd6b3341f1992f02b29a5
tree29feb7eff8869f4f23b19b5cffa8dcc4c6474445
parentc925f1bff1846b1ed4d12ae02358bc6444ddfe06
connection: Only take service ref when saving service

The fix b68795352dd5a9ac41eab31c765ade0c88329a6e was only partly
working. We must only take the ref when we are saving stuff
to hash (no need to take ref if we are only modifying value
in the hash). This patch reverts the commit b68795
src/connection.c