diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 81230801..9840716d 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1067,7 +1067,7 @@ win_show_status_string(ProfWin *window, const char *const from, gchar *date_fmt = NULL; char *time_pref = prefs_get_string(PREF_TIME_LASTACTIVITY); date_fmt = g_date_time_format(last_activity, time_pref); - prefs_free_string(time_pref); + g_free(time_pref); assert(date_fmt != NULL); win_append(window, presence_colour, ", last activity: %s", date_fmt); @@ -1516,7 +1516,7 @@ _win_print_internal(ProfWin *window, const char *show_char, int pad_indent, GDat } else { date_fmt = g_date_time_format(time, time_pref); } - prefs_free_string(time_pref); + g_free(time_pref); assert(date_fmt != NULL); if(strlen(date_fmt) != 0){ @@ -1547,7 +1547,7 @@ _win_print_internal(ProfWin *window, const char *show_char, int pad_indent, GDat colour = theme_hash_attrs(from); } } - prefs_free_string(color_pref); + g_free(color_pref); if (flags & NO_COLOUR_FROM) { colour = 0; |