GNOME Bugzilla – Bug 705435
remote-display-manager: Avoid unref'ing NULL in case of errors
Last modified: 2013-08-07 16:03:09 UTC
In case of error photos_dlna_renderer_share_finish() returns NULL, so it's better to call _unref() only after checking the error status.
Created attachment 250789 [details] [review] remote-display-manager: Avoid unref'ing NULL in case of errors In case of error photos_dlna_renderer_share_finish() returns NULL, so it's better to call _unref() only after checking the error status.
Comment on attachment 250789 [details] [review] remote-display-manager: Avoid unref'ing NULL in case of errors Thanks a lot for the patch!
Oops, in commit 37dfb5cc I inadvertently reverted the patch, reopening the bug.
Created attachment 251059 [details] [review] remote-display-manager: Avoid unref'ing NULL in case of errors, again Ouch. Commit 37dfb5cc inadvertently reverted 3f01ccd, reapply.