GNOME Bugzilla – Bug 776897
The invocation is leaked when handling ExchangeSecretKeys and SignOut
Last modified: 2017-01-10 14:28:26 UTC
This is another instance of bug 767952 in the wild. We should unref the GDBusMethodInvocation in on_sign_out_handled.
Created attachment 342948 [details] [review] identity: Don't leak the invocation when handling SignOut
Created attachment 342950 [details] [review] identity: Don't leak the invocation when handling ExchangeSecretKeys
Comment on attachment 342950 [details] [review] identity: Don't leak the invocation when handling ExchangeSecretKeys Oops! I just pushed this to master by mistake. I'd still welcome some feedback.
Created attachment 342964 [details] [review] identity: Don't leak operation_result when handling ExchangeSecretKeys
Review of attachment 342948 [details] [review]: seems right since we ref the invocation in goa_identity_service_handle_sign_out
Review of attachment 342950 [details] [review]: same story, we ref the invocation in goa_identity_service_handle_sign_out so unref is right.
Review of attachment 342964 [details] [review]: yup looks right. we ref it when we call g_bus_watch_name so we should unref the initial reference
Pushed to master, gnome-3-22 and gnome-3-20.