Fix some memory leaks
Fix some memory leaks

Change-Id: If8c1b341b8493b8902f060d8d13bbb7d08991cd9
Reviewed-on: https://gerrit.libreoffice.org/5309
Reviewed-by: Norbert Thiebaud <4a068946920c47769d700757a47cfec2afcce997@gmail.com>
Tested-by: Norbert Thiebaud <4a068946920c47769d700757a47cfec2afcce997@gmail.com>

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core