diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c index 3030114e3..106544f2f 100644 --- a/glib/gstrfuncs.c +++ b/glib/gstrfuncs.c @@ -1362,7 +1362,7 @@ g_strerror (gint errnum) G_UNLOCK (errors); errno = saved_errno; - return msg; + return NULL; } if (!g_get_console_charset (NULL))