[Plib-cvs] plib/src/pui puValue.cxx,1.20,1.21
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2002-09-01 16:37:40
|
Update of /cvsroot/plib/plib/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv12567 Modified Files: puValue.cxx Log Message: There was a delete instead of a delete [] Index: puValue.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puValue.cxx,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- puValue.cxx 1 Sep 2002 09:36:51 -0000 1.20 +++ puValue.cxx 1 Sep 2002 16:36:13 -0000 1.21 @@ -132,7 +132,7 @@ if ( new_size != string_size ) /* If the array size has changed, allocate a new array */ { - delete string ; + delete [] string ; string = new char [ new_size ] ; string_size = new_size ; } |