Use g_signal_connect_object for PidginProtocolStore to follow the life cycle of the objects and avoid memory errors.
Review Request #458 — Created Jan. 26, 2021 and submitted — Latest diff uploaded
Use g_signal_connect_object for PidginProtocolStore to follow the life cycle of the objects and avoid memory errors.
Ran locally in valgrind.
Before this patch, valgrind noticed
118 errors from 18 contexts
after this patch14 errors from 5 contexts
.