diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-log-window.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c index 01155b892..5a391c0c4 100644 --- a/libempathy-gtk/empathy-log-window.c +++ b/libempathy-gtk/empathy-log-window.c @@ -230,8 +230,7 @@ ctx_free (Ctx *ctx) { tp_clear_object (&ctx->account); tp_clear_object (&ctx->entity); - if (ctx->date != NULL) - g_date_free (ctx->date); + tp_clear_pointer (&ctx->date, g_date_free); g_slice_free (Ctx, ctx); } |