Memory leak in gtkcellrendertext.c ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I sometimes run my app through memprof, after updating from gtk 2.2 to
gtk-2.3.6 it showed something I can't remember seen before(though
I could be wrong..)
In gtk/gtkcellrendertext.c , line 982 , shouldn't font_desc be freed ?


case PROP_FONT:
      {
        PangoFontDescription *font_desc = NULL;
        const gchar *name;
                                                                                                                             
        name = g_value_get_string (value);
                                                                                                                             
        if (name)
          font_desc = pango_font_description_from_string (name);
	  ^^^^
	shouldn't thisone be freed somewhere
?                                                                                                                             

        set_font_description (celltext, font_desc);
                                                                                                                             
        if (celltext->fixed_height_rows != -1)
          celltext->calc_fixed_height = TRUE;
      }
      break;

-- 
Nils O. Selåsdal <noselasd@xxxxxxxxxx>

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux