[Xfce4-commits] <tumbler:master> Fix invalid unrefs in the font thumbnailer.

Jannis Pohlmann noreply at xfce.org
Tue Dec 8 23:24:04 CET 2009


Updating branch refs/heads/master
         to ee8b152274adaa5c2b0e89dba1bc0f70588eb402 (commit)
       from b00979630f08954ddaff35e9dec560ce81bd2915 (commit)

commit ee8b152274adaa5c2b0e89dba1bc0f70588eb402
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Tue Dec 8 23:10:35 2009 +0100

    Fix invalid unrefs in the font thumbnailer.

 plugins/font-thumbnailer/font-thumbnailer.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/plugins/font-thumbnailer/font-thumbnailer.c b/plugins/font-thumbnailer/font-thumbnailer.c
index 6e347db..d975298 100644
--- a/plugins/font-thumbnailer/font-thumbnailer.c
+++ b/plugins/font-thumbnailer/font-thumbnailer.c
@@ -480,7 +480,6 @@ font_thumbnailer_create (TumblerAbstractThumbnailer *thumbnailer,
       /* clean up */
       g_error_free (error);
       g_object_unref (file);
-      g_object_unref (info);
 
       return;
     }
@@ -499,7 +498,6 @@ font_thumbnailer_create (TumblerAbstractThumbnailer *thumbnailer,
 
       /* clean up */
       g_free (font_data);
-      g_object_unref (info);
 
       return;
     }
@@ -525,7 +523,6 @@ font_thumbnailer_create (TumblerAbstractThumbnailer *thumbnailer,
               /* clean up */
               g_free (font_data);
               FT_Done_Face (face);
-              g_object_unref (info);
 
               return;
             }
@@ -553,7 +550,6 @@ font_thumbnailer_create (TumblerAbstractThumbnailer *thumbnailer,
       /* clean up */
       g_free (font_data);
       FT_Done_Face (face);
-      g_object_unref (info);
 
       return;
     }
@@ -593,5 +589,4 @@ font_thumbnailer_create (TumblerAbstractThumbnailer *thumbnailer,
   g_object_unref (pixbuf);
   g_object_unref (thumbnail);
   g_free (font_data);
-  g_object_unref (info);
 }



More information about the Xfce4-commits mailing list