[Libreoffice-commits] .: tools/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Thu Feb 16 13:38:28 PST 2012
tools/source/generic/poly.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2dd1722d2729f0d6cda6e31297f3e03ae36c555f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Feb 16 22:36:35 2012 +0100
Fix a bug found with cclang
Null pointer passed as an argument to a 'nonnull'
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index 3c86a7a..4e71b35 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -88,7 +88,7 @@ ImplPolygon::ImplPolygon( sal_uInt16 nInitSize, sal_Bool bFlags )
if( bFlags )
{
mpFlagAry = new sal_uInt8[ nInitSize ];
- memset( mpPointAry, 0, nInitSize );
+ memset( mpFlagAry, 0, nInitSize );
}
else
mpFlagAry = NULL;
More information about the Libreoffice-commits
mailing list