mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 07:08:23 +00:00
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:
parent
c68b638588
commit
62bb670b67
3 changed files with 8 additions and 2 deletions
|
@ -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>
|
2008-02-10 Alessandro Decina <alessandro@nnva.org>
|
||||||
|
|
||||||
reviewed by: Edward Hervey <edward.hervey@collabora.co.uk>
|
reviewed by: Edward Hervey <edward.hervey@collabora.co.uk>
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 961bb6bd997d7c8da6058534e86b4a1361c0fcea
|
Subproject commit e746d20ef536a73aea9964666c7d5f6d5c9465df
|
|
@ -1286,7 +1286,6 @@ _wrap_GstURIHandler__proxy_do_get_protocols_full (GType type)
|
||||||
if (!py_retval) {
|
if (!py_retval) {
|
||||||
if (PyErr_Occurred())
|
if (PyErr_Occurred())
|
||||||
PyErr_Print();
|
PyErr_Print();
|
||||||
Py_DECREF (py_retval);
|
|
||||||
pyg_gil_state_release(__py_state);
|
pyg_gil_state_release(__py_state);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue