mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 16:38:54 +02:00
Check that error exists before trying to set it. Fixes bug #640975.
This commit is contained in:
@@ -769,6 +769,7 @@ g_convert_with_iconv (const gchar *str,
|
||||
have_error = TRUE;
|
||||
break;
|
||||
default:
|
||||
if (error)
|
||||
{
|
||||
int errsv = errno;
|
||||
|
||||
|
Reference in New Issue
Block a user