After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 166561 - excel_font_overlay_pango leak
excel_font_overlay_pango leak
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export MS Excel (tm)
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-02-07 14:30 UTC by Morten Welinder
Modified: 2005-02-07 21:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2005-02-07 14:30:38 UTC
Load file from bug 166532.

It looks like excel_font_overlay_pango deletes only the slist structure, and
not the individual attributes.


         MLK: 3760 bytes leaked in 235 blocks
         This memory was allocated from:
               malloc         [rtlib.o pc=0x73d10]
               g_malloc       [gmem.c:137 pc=0xfa3c6a74]
               pango_attr_int_new [pango-attributes.c:359 pc=0xfb27912c]
               pango_attr_int_copy [pango-attributes.c:336 pc=0xfb27902c]
               pango_attribute_copy [pango-attributes.c:88 pc=0xfb27874c]
               pango_attr_iterator_get_attrs [pango-attributes.c:1848 pc=0xfb27c14c]
               txomarkup_new  [ms-excel-write.c:1725 pc=0xf7fb780c]
               cb_cell_pre_pass [ms-excel-write.c:1762 pc=0xf7fb7a24]
               g_hash_table_foreach [ghash.c:563 pc=0xfa3a69ac]
               gather_styles  [ms-excel-write.c:1810 pc=0xf7fb7c44]
               pre_pass       [ms-excel-write.c:4303 pc=0xf7fc1e90]
               excel_write_state_new [ms-excel-write.c:5143 pc=0xf7fc72ec]
               excel_save     [boot.c:234 pc=0xf7f932cc]
               excel_biff8_file_save [boot.c:295 pc=0xf7f9360c]
               gnm_plugin_loader_module_func_file_save
[plugin-loader-module.c:380 pc=0x1539d4]
               gnm_plugin_file_saver_save [plugin-service.c:843 pc=0x1588b0]
               gnm_file_saver_save [file.c:537 pc=0xe54c8]
               wbv_save_to_uri [workbook-view.c:580 pc=0x1e49fc]
               wb_view_save_as [workbook-view.c:629 pc=0x1e4c6c]
               do_save_as     [gui-file.c:633 pc=0x10891c]
               gui_file_save_as [gui-file.c:773 pc=0x108f5c]
               cb_file_save_as [wbcg-actions.c:92 pc=0x1f3960]
               g_cclosure_marshal_VOID__VOID [gmarshal.c:77 pc=0xfa888e5c]
               g_closure_invoke [gclosure.c:437 pc=0xfa85e084]
               signal_emit_unlocked_R [gsignal.c:2485 pc=0xfa8866c8]
         Block of 16 bytes (235 times); last block at 0x1704630
Comment 1 Morten Welinder 2005-02-07 21:56:47 UTC
Fixed in cvs.  (Leak was, clearly, from saving and not loading that file.)