diff options
author | Sebastian Wilhelmi <wilhelmi@ira.uka.de> | 2001-05-29 13:48:18 +0000 |
---|---|---|
committer | Sebastian Wilhelmi <wilhelmi@src.gnome.org> | 2001-05-29 13:48:18 +0000 |
commit | 2fd34ae182691e7a513dab75fbc23c350c873879 (patch) | |
tree | 204e7e278b6cf56e607d78ed94b18869e0cd58ea /gmodule | |
parent | 5ff90aee0d9e969df09b1cfe3b6a00b8dc276258 (diff) |
Do not g_strdup, as promised in the function name.
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmodule.c (g_module_set_error_unduped): Do not g_strdup, as
promised in the function name.
Diffstat (limited to 'gmodule')
-rw-r--r-- | gmodule/ChangeLog | 5 | ||||
-rw-r--r-- | gmodule/gmodule.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog index cab25eacb..7eac3f21b 100644 --- a/gmodule/ChangeLog +++ b/gmodule/ChangeLog @@ -1,3 +1,8 @@ +2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de> + + * gmodule.c (g_module_set_error_unduped): Do not g_strdup, as + promised in the function name. + Tue May 29 12:57:51 2001 Tim Janik <timj@gtk.org> * gmodule.c (g_module_symbol): erk, strconcat needs NULL as last arg. 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; } |