Original commit message from CVS:
* gst/debug/tests.c: (md5_get_value):
fix segfault on gst-inspect
2004-05-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
+ * gst/debug/tests.c: (md5_get_value):
+ fix segfault on gst-inspect
+
+2004-05-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
+
* gst/debug/testplugin.c:
* gst/debug/tests.c:
* gst/debug/tests.h:
{
MD5Test *ctx = test;
- if (ctx->result[0] == 0) {
+ if (!ctx) {
+ g_value_set_string (value, "---");
+ } else if (ctx->result[0] == 0) {
gchar *str = g_new (gchar, 33);
str[32] = 0;