mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Fix a small memory leak
This commit is contained in:
parent
7094c82e75
commit
03b4635bea
1 changed files with 1 additions and 0 deletions
|
|
@ -292,6 +292,7 @@ Text::set_font_description (Pango::FontDescription font_description)
|
||||||
{
|
{
|
||||||
begin_change ();
|
begin_change ();
|
||||||
|
|
||||||
|
delete _font_description;
|
||||||
_font_description = new Pango::FontDescription (font_description);
|
_font_description = new Pango::FontDescription (font_description);
|
||||||
_need_redraw = true;
|
_need_redraw = true;
|
||||||
_width_correction = -1.0;
|
_width_correction = -1.0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue