gst/gst.override: Don't crash by unreffing NULL when calling the do_get_protocols_full method raises an exception.

Original commit message from CVS:
* gst/gst.override:
(_wrap_GstURIHandler__proxy_do_get_protocols_full):
Don't crash by unreffing NULL when calling the
do_get_protocols_full method raises an exception.
This commit is contained in:
Rene Stadler 2008-02-29 12:37:43 +00:00
parent c68b638588
commit 62bb670b67
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2008-02-29 Rene Stadler <mail@renestadler.de>
* gst/gst.override:
(_wrap_GstURIHandler__proxy_do_get_protocols_full):
Don't crash by unreffing NULL when calling the
do_get_protocols_full method raises an exception.
2008-02-10 Alessandro Decina <alessandro@nnva.org>
reviewed by: Edward Hervey <edward.hervey@collabora.co.uk>

2
common

@ -1 +1 @@
Subproject commit 961bb6bd997d7c8da6058534e86b4a1361c0fcea
Subproject commit e746d20ef536a73aea9964666c7d5f6d5c9465df

View file

@ -1286,7 +1286,6 @@ _wrap_GstURIHandler__proxy_do_get_protocols_full (GType type)
if (!py_retval) {
if (PyErr_Occurred())
PyErr_Print();
Py_DECREF (py_retval);
pyg_gil_state_release(__py_state);
return NULL;
}