diff options
author | Travis Reitter <treitter@gmail.com> | 2010-07-10 04:54:16 +0800 |
---|---|---|
committer | Travis Reitter <treitter@gmail.com> | 2010-07-21 07:12:37 +0800 |
commit | 22c93bf49f6a3fdf31496d2c2fd7b7553ee351f1 (patch) | |
tree | b1699b5849e1b7a7d28bbb422667aa569ca0e0e8 /libempathy-gtk | |
parent | d392ae0a2fd82c9ae39a0f9594f7cdd8ed3b4411 (diff) | |
download | gsoc2013-empathy-22c93bf49f6a3fdf31496d2c2fd7b7553ee351f1.tar gsoc2013-empathy-22c93bf49f6a3fdf31496d2c2fd7b7553ee351f1.tar.gz gsoc2013-empathy-22c93bf49f6a3fdf31496d2c2fd7b7553ee351f1.tar.bz2 gsoc2013-empathy-22c93bf49f6a3fdf31496d2c2fd7b7553ee351f1.tar.lz gsoc2013-empathy-22c93bf49f6a3fdf31496d2c2fd7b7553ee351f1.tar.xz gsoc2013-empathy-22c93bf49f6a3fdf31496d2c2fd7b7553ee351f1.tar.zst gsoc2013-empathy-22c93bf49f6a3fdf31496d2c2fd7b7553ee351f1.zip |
Take advantage of tp_clear_object().
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-individual-menu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c index be5895ac5..a3cacdaae 100644 --- a/libempathy-gtk/empathy-individual-menu.c +++ b/libempathy-gtk/empathy-individual-menu.c @@ -232,8 +232,7 @@ empathy_individual_add_menu_item_new (FolksIndividual *individual) individual); out: - if (contact != NULL) - g_object_unref (contact); + tp_clear_object (&contact); return item; } |