Hi Eduardo,

Network unreference is already being done by free_network,
called by g_hash_table_remove. This patche prevents from
an invalid read during nework removal.

I would be curious to see your valgrind output.

The reference ethernet.c is removing is the one which is set when the network is created.
device.c remove it's own reference (added in connman_device_add_network).

If there is a reference bug, it does not seem to be where you found it.

Tomasz
_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to