diff options
Diffstat (limited to 'eglib/gmain.c')
-rw-r--r-- | eglib/gmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eglib/gmain.c b/eglib/gmain.c index 9a4f0097..b341d516 100644 --- a/eglib/gmain.c +++ b/eglib/gmain.c @@ -1299,7 +1299,7 @@ gchar *g_strdup_printf(const gchar *format, ...) length = vsnprintf(buffer, sizeof(buffer) - 1, format, args); va_end(args); - return strdup(buffer); + return g_strdup(buffer); } gchar *g_strdelimit(gchar *string, const gchar *delimiters, gchar new_delim) |