Commit 1844e713 authored by Committed by Hannu Mallat
connection: Clean up service reference counting
Always reference a service when it is added to the hash and unreference it when removed. When re-adding gateway data, the included service is first referenced a second time whereafter one reference is dropped as g_hash_table_replace() is removing the previously existing entry.
Showing with 4 additions and 8 deletions