WFS: Memory related problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

WFS: Memory related problems

Jack Lee-2

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.

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


_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals