Fix a large-ish memory leak in ttext::rerender
This commit is contained in:
parent
76bb8ce48a
commit
c8e7205175
1 changed files with 1 additions and 0 deletions
|
@ -533,6 +533,7 @@ void ttext::rerender(const bool force) const
|
|||
surface_.assign(SDL_CreateRGBSurfaceFrom(
|
||||
surface_buffer_, width, height, 32, stride,
|
||||
0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000));
|
||||
cairo_destroy(cr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue