diff --git a/source/blender/src/editfont.c b/source/blender/src/editfont.c index b161538423c..e7b65f15f16 100644 --- a/source/blender/src/editfont.c +++ b/source/blender/src/editfont.c @@ -1157,6 +1157,7 @@ void free_editText(void) { if(oldstr) MEM_freeN(oldstr); if(oldstrinfo) MEM_freeN(oldstrinfo); + if(textbuf) MEM_freeN(textbuf); textbuf = oldstr = NULL; textbufinfo = oldstrinfo = NULL; textediting= 0;