GNOME Bugzilla – Bug 497191
Style leaks with derivatives.gnumeric
Last modified: 2007-11-19 14:11:54 UTC
Version: r16144 OS: Ubuntu Gutsy Steps to reproduce: - From gnumeric/src, convert derivatives.gnumeric to Excel (biff8) format: ./ssconvert --export-type=Gnumeric_Excel:excel_biff8 ../samples/derivatives.gnumeric /tmp/foo.xls or ./ssconvert --export-type=Gnumeric_Excel:excel_dsf ../samples/derivatives.gnumeric /tmp/foo.xls Note: I do not see any leak warnings with the Gnumeric_Excel:excel_biff7 exporter. Console output: Leaking style-color at 0x8092898 [0000:0000:0000]. Leaking style-color at 0x8090030 [ffff:ffff:ffff]. Leaking style-color at 0x81fcb98 [0000:0000:ffff]. Leaking style at 0x8070840. ... ** (/home/s/cvs/gnumeric/src/.libs/lt-ssconvert:12351): WARNING **: Leaked 40 nodes from style pool. Leaking string [Sans] with ref_count=40. Leaking GOFormat at 0x821e040 [0.00]. Leaking GOFormat at 0x8092aa8 [General].
It's the hyperlinks. We collect them but never free the style list.
I've got a patch for the leak, and will look at the real problem that we do not export the links. *** This bug has been marked as a duplicate of 81718 ***
Ooops. I just plugged these leaks.
81718 is now only about the HYPERLINK function, rather than export. This is no long a dup, it is fixed in it's own right.