diff options
Diffstat (limited to 'gmodule/gmodule.c')
-rw-r--r-- | gmodule/gmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c index 7f7cf28a8..72ee96e26 100644 --- a/gmodule/gmodule.c +++ b/gmodule/gmodule.c @@ -126,7 +126,7 @@ g_module_find_by_name (const gchar *name) static inline void g_module_set_error_unduped (const gchar *error) { - g_static_private_set (&module_error_private, g_strdup (error), g_free); + g_static_private_set (&module_error_private, error, g_free); errno = 0; } |