[fdo-internals] WFS: Memory related problems

Jack Lee jack.lee at autodesk.com
Mon Mar 12 16:20:18 EDT 2007


Ticket #38

 

Fixed a couple of memory related problems:

 

1) In FdoXmlCoordinateGroup::~FdoXmlCoordinateGroup 

delete m_doubleArray;

should be

delete[] m_doubleArray;

 

2) In FdoOwsHttpHandler::_headerCallback, retCodeStr is not nul
terminated.

 

 

Dropped in the 3.2.x branch and trunk.

 

------------------------------------------------------------------------

r834 | jacklee | 2007-03-12 11:47:11 -0400 (Mon, 12 Mar 2007) | 1 line
Changed paths:

   M /branches/3.2.x/Utilities/OWS/Src/FdoOwsHttpHandler.cpp

 

In FdoOwsHttpHandler::_headerCallback, retCodeStr was not nul
terminated.

------------------------------------------------------------------------

r835 | jacklee | 2007-03-12 11:47:35 -0400 (Mon, 12 Mar 2007) | 4 lines
Changed paths:

   M /branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Xml/CoordinateGroup.cpp

 

In destructor change

delete m_doubleArray;

to

delete[] m_doubleArray;

------------------------------------------------------------------------

 

 

------------------------------------------------------------------------

r2681 | jacklee | 2007-03-12 15:26:12 -0400 (Mon, 12 Mar 2007) | 10
lines

Changed paths:

   M /trunk/Fdo/Unmanaged/Src/Fdo/Xml/CoordinateGroup.cpp

   M /trunk/Utilities/OWS/Src/FdoOwsHttpHandler.cpp

 

Ticket #38

 

Fixed a couple of memory related problems

 

1) In FdoXmlCoordinateGroup::~FdoXmlCoordinateGroup

delete m_doubleArray;

should be

delete[] m_doubleArray;

 

2) In FdoOwsHttpHandler::_headerCallback, retCodeStr was not nul
terminated.

------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-internals/attachments/20070312/43b156d0/attachment-0001.html


More information about the fdo-internals mailing list