Fix small memory leak in OSD

git-svn-id: https://svn.eduke32.com/eduke32@6540 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2017-12-02 12:42:36 +00:00
parent a66703b01a
commit bb836cfc0b

View file

@ -608,6 +608,7 @@ void OSD_Cleanup(void)
DO_FREE_AND_NULL(osd->history.buf[i]); DO_FREE_AND_NULL(osd->history.buf[i]);
DO_FREE_AND_NULL(osd->text.buf); DO_FREE_AND_NULL(osd->text.buf);
DO_FREE_AND_NULL(osd->text.fmt); DO_FREE_AND_NULL(osd->text.fmt);
DO_FREE_AND_NULL(osd->version.buf);
DO_FREE_AND_NULL(osd); DO_FREE_AND_NULL(osd);
} }