GNOME Bugzilla – Bug 702082
seed_script_destroy: only unref source_url if it exists
Last modified: 2013-06-13 08:46:22 UTC
It's possible to create a script with a NULL source_url by passing NULL to seed_create_script, which is documented to be fine. So don't crash when destroying such a script.
Created attachment 246607 [details] [review] seed_script_destroy: only unref source_url if it exists Fixes a crash when creating a script with a NULL source_url, which is documented to be fine.
The patch looks good to me.
Thanks - committed