diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-01-21 00:31:08 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-01-21 00:31:08 +0800 |
commit | 91e979816f337370ac9b8f35eeea8223e2efbb4c (patch) | |
tree | 1db823fcef237356927327431d7e347da8316862 /widgets | |
parent | 50b55e669f8db4d0cb6ff621e30ce831995537f0 (diff) | |
download | gsoc2013-evolution-91e979816f337370ac9b8f35eeea8223e2efbb4c.tar gsoc2013-evolution-91e979816f337370ac9b8f35eeea8223e2efbb4c.tar.gz gsoc2013-evolution-91e979816f337370ac9b8f35eeea8223e2efbb4c.tar.bz2 gsoc2013-evolution-91e979816f337370ac9b8f35eeea8223e2efbb4c.tar.lz gsoc2013-evolution-91e979816f337370ac9b8f35eeea8223e2efbb4c.tar.xz gsoc2013-evolution-91e979816f337370ac9b8f35eeea8223e2efbb4c.tar.zst gsoc2013-evolution-91e979816f337370ac9b8f35eeea8223e2efbb4c.zip |
Fix memory leak: Unref some stuff if we're not showing the tooltip.
svn path=/trunk/; revision=7667
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-cell-text.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index 29568249cd..89f6f427bb 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -1194,6 +1194,8 @@ ect_show_tooltip (ECellView *ecell_view, if (!cut_off) { tooltip->timer = 0; + unref_lines (&cell); + unbuild_current_cell (&cell); return; } @@ -2215,7 +2217,6 @@ split_into_lines (CurrentCell *cell) linebreaks = cell->breaks; /* Check if already split. */ - linebreaks->lines = NULL; linebreaks->num_lines = 0; |