[PATCH] Correct check after memory allocation.

Gerrit gerrit at gerrit.libreoffice.org
Sat Jul 14 07:01:17 PDT 2012


>From Christophe JAILLET <christophe.jaillet at wanadoo.fr>:

Christophe JAILLET has uploaded a new change for review.

Change subject: Correct check after memory allocation.
......................................................................

Correct check after memory allocation.

ppenum is already tested for NULL at the beginning of the function.
What is intended here is to know if the memory allocation succeeded.

Found by cppcheck.

Change-Id: I31a3bed93b5dfe1a4d384478267f7c8cc0421181
---
M dtrans/source/win32/dtobj/XTDataObject.cxx
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/08/308/1
--
To view, visit https://gerrit.libreoffice.org/308
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I31a3bed93b5dfe1a4d384478267f7c8cc0421181
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Christophe JAILLET <christophe.jaillet at wanadoo.fr>



More information about the LibreOffice mailing list