small memory leak ;)
This commit is contained in:
parent
76f6550fa4
commit
85a9c89975
|
@ -1396,6 +1396,8 @@ int game_cmd(char *cmd)
|
||||||
title_h += game_theme.font_size / 2; // todo?
|
title_h += game_theme.font_size / 2; // todo?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(title);
|
||||||
|
|
||||||
instead_eval("return get_picture();");
|
instead_eval("return get_picture();");
|
||||||
pict = instead_retval(0);
|
pict = instead_retval(0);
|
||||||
instead_clear();
|
instead_clear();
|
||||||
|
|
Reference in a new issue