Update of /cvsroot/plib/plib/src/pui
In directory usw-pr-cvs1:/tmp/cvs-serv1106
Modified Files:
puInput.cxx
Log Message:
John Fay: Fix memory leak
Index: puInput.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puInput.cxx,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- puInput.cxx 6 Jun 2002 15:00:49 -0000 1.24
+++ puInput.cxx 14 Jul 2002 16:03:13 -0000 1.25
@@ -56,6 +56,7 @@
strcpy ( p + select_start_position,
getStringValue () + select_end_position ) ;
setValue ( p ) ;
+ delete [] p ;
cursor_position = select_end_position = select_start_position ;
}
|