- fix possible memory leak in NewFromTemplateDlg

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9583 2a5c6006-c6dd-42ca-98ab-0921f2732cef