Clean up all structures allocated at initialization. --- src/peer.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/peer.c b/src/peer.c index caff70c..9386808 100644 --- a/src/peer.c +++ b/src/peer.c @@ -1151,6 +1151,10 @@ void __connman_peer_cleanup(void) { DBG(""); + g_hash_table_destroy(peers_notify->remove); + g_hash_table_destroy(peers_notify->add); + g_free(peers_notify); + g_hash_table_destroy(peers_table); peers_table = NULL; dbus_connection_unref(connection); -- 1.9.1 _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman