Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
plib
plib-1.8.5-commit2136-segfault.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plib-1.8.5-commit2136-segfault.patch of Package plib
Fixing the delete display_text statement in puInputBase (e-mail from Melchior Franz, Wed 12/17/2008 6:12 PM) --- src/pui/pu.h 2008/11/10 15:40:28 2135 +++ src/pui/pu.h 2008/12/18 04:19:29 2136 @@ -1445,31 +1445,31 @@ virtual void setValue ( puValue *pv ) { puValue::setValue ( pv ) ; - delete displayed_text ; displayed_text = NULL ; + delete [] displayed_text ; displayed_text = NULL ; } virtual void setValue ( int i ) { puValue::setValue ( i ) ; - delete displayed_text ; displayed_text = NULL ; + delete [] displayed_text ; displayed_text = NULL ; } virtual void setValue ( float f ) { puValue::setValue ( f ) ; - delete displayed_text ; displayed_text = NULL ; + delete [] displayed_text ; displayed_text = NULL ; } virtual void setValue ( const char *s ) { puValue::setValue ( s ) ; - delete displayed_text ; displayed_text = NULL ; + delete [] displayed_text ; displayed_text = NULL ; } virtual void setValue ( bool b ) { puValue::setValue ( b ) ; - delete displayed_text ; displayed_text = NULL ; + delete [] displayed_text ; displayed_text = NULL ; } } ;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor