[mapserver-commits] r10697 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Nov 1 15:26:33 EDT 2010
Author: tamas
Date: 2010-11-01 12:26:33 -0700 (Mon, 01 Nov 2010)
New Revision: 10697
Modified:
trunk/mapserver/maputil.c
Log:
Fix for the issue with msSaveImageBuffer
Modified: trunk/mapserver/maputil.c
===================================================================
--- trunk/mapserver/maputil.c 2010-10-30 18:03:00 UTC (rev 10696)
+++ trunk/mapserver/maputil.c 2010-11-01 19:26:33 UTC (rev 10697)
@@ -791,6 +791,7 @@
msBufferInit(&buffer);
renderer->getRasterBuffer(image,&data);
msSaveRasterBufferToBuffer(&data,&buffer,format);
+ *size_ptr = buffer.size;
return buffer.data;
//don't free the bufferObj as we don't own the bytes anymore
} else {
More information about the mapserver-commits
mailing list