GNOME Bugzilla – Bug 762868
[review] cleanup handling GError by assuming valid error [danw/gerror-bgo762868]
Last modified: 2016-03-03 18:12:17 UTC
When a function indicates failure, it must also set the GError argument. No need to check for that.
Please review danw/gerror-bgo762868
Created attachment 322653 [details] [review] [patch] original danw/wip/gerror branch This branch is based on an old branch danw/wip/gerror by Dan. It is obsolete, but attach it here for reference. It applies on commit 73508704d888d0d83855348b0ca01a2f4d7b2207
danw/gerror-bgo762868 LGTM.
Found a crash, pushed fixup.
LGTM, it even saves us memory :)
merged: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=21ff0420511975ec3669563f48c0288717c84b66