coverity: fix memory leak
coverity: fix memory leak

LibreOffice/libfreehand,LibreOffice/libfreehand,freedesktop-unofficial-mirror/libreoffice__libfreehand,LibreOffice/libfreehand,freedesktop-unofficial-mirror/libreoffice__libfreehand,freedesktop-unofficial-mirror/libreoffice__libfreehand,LibreOffice/libfreehand