aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-04-27 17:36:43 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-09 19:34:55 +0800
commitfcd9a97dbf9c6bf6e9e8c7ecd7f8cacdb5c34b4e (patch)
treeaaf3ee1971c81e71bccca97cf28612a6d7bce1fa /libempathy-gtk
parentbaf7517f523381054f85810f0b2d4e20fe05e491 (diff)
downloadgsoc2013-empathy-fcd9a97dbf9c6bf6e9e8c7ecd7f8cacdb5c34b4e.tar
gsoc2013-empathy-fcd9a97dbf9c6bf6e9e8c7ecd7f8cacdb5c34b4e.tar.gz
gsoc2013-empathy-fcd9a97dbf9c6bf6e9e8c7ecd7f8cacdb5c34b4e.tar.bz2
gsoc2013-empathy-fcd9a97dbf9c6bf6e9e8c7ecd7f8cacdb5c34b4e.tar.lz
gsoc2013-empathy-fcd9a97dbf9c6bf6e9e8c7ecd7f8cacdb5c34b4e.tar.xz
gsoc2013-empathy-fcd9a97dbf9c6bf6e9e8c7ecd7f8cacdb5c34b4e.tar.zst
gsoc2013-empathy-fcd9a97dbf9c6bf6e9e8c7ecd7f8cacdb5c34b4e.zip
Use tp_clear_pointer
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-log-window.c3
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);
}