Bugfix: free() text, after drawing it (thx dothebart)
This commit is contained in:
parent
9d22b29166
commit
d9f35859fa
|
@ -197,6 +197,8 @@ void refresh_statusline() {
|
|||
|
||||
draw_text(statusline_pm, statusline_ctx, 0, 0, text, glyph_count);
|
||||
|
||||
FREE(text);
|
||||
|
||||
if (xcb_request_failed(sl_pm_cookie, "Could not allocate statusline-buffer")) {
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue