mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-12 12:21:30 +00:00
gst/gstmodule.c: don't crash when error is NULL
Original commit message from CVS: * gst/gstmodule.c: (init_gst): don't crash when error is NULL
This commit is contained in:
parent
6992f7de67
commit
fc67bb7842
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/gstmodule.c: (init_gst):
|
||||||
|
don't crash when error is NULL
|
||||||
|
|
||||||
2006-07-03 Edward Hervey <edward@fluendo.com>
|
2006-07-03 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* gst/gstmessage.override:
|
* gst/gstmessage.override:
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit a98b370bd49bc3f3225bbd9013cda5a53789f53d
|
Subproject commit dd173e2720ac21e4a47c97705d7ff32271a0ee66
|
|
@ -140,7 +140,7 @@ init_gst (void)
|
||||||
g_free (argv);
|
g_free (argv);
|
||||||
}
|
}
|
||||||
errstr = g_strdup_printf ("can't initialize module gst: %s",
|
errstr = g_strdup_printf ("can't initialize module gst: %s",
|
||||||
GST_STR_NULL (error->message));
|
error ? GST_STR_NULL (error->message) : "no error given");
|
||||||
PyErr_SetString (PyExc_RuntimeError, errstr);
|
PyErr_SetString (PyExc_RuntimeError, errstr);
|
||||||
g_free (errstr);
|
g_free (errstr);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
|
|
Loading…
Reference in a new issue