From bb836cfc0be6b06f0291ad63f58fffe73fbdaef7 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 2 Dec 2017 12:42:36 +0000 Subject: [PATCH] Fix small memory leak in OSD git-svn-id: https://svn.eduke32.com/eduke32@6540 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/osd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/build/src/osd.cpp b/source/build/src/osd.cpp index b172afb4a..83b6d0cd2 100644 --- a/source/build/src/osd.cpp +++ b/source/build/src/osd.cpp @@ -608,6 +608,7 @@ void OSD_Cleanup(void) DO_FREE_AND_NULL(osd->history.buf[i]); DO_FREE_AND_NULL(osd->text.buf); DO_FREE_AND_NULL(osd->text.fmt); + DO_FREE_AND_NULL(osd->version.buf); DO_FREE_AND_NULL(osd); }