Mismatch alloc/dealloc

Cppcheck can't detect these cases for the moment
See http://sourceforge.net/apps/trac/cppcheck/ticket/5740

Change-Id: Iac3b5bdea8078b02d78afb53bb8afcb2673b4316
Reviewed-on: https://gerrit.libreoffice.org/9193
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>