Fix a small memory leak
Merge branch 'cxic9714' of github.com:antonbarty/cheetah into cxic9714