Bugfix: load_font: free reply after using it

This commit is contained in:
Michael Stapelberg 2011-07-31 17:57:11 +02:00
parent cbfcf5bd8b
commit d9ff172d36
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ i3Font load_font(const char *pattern, bool fallback) {
new.height = reply->font_ascent + reply->font_descent;
free(reply);
return new;
}