Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
ladspa-caps
caps-fix-double-free.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File caps-fix-double-free.diff of Package ladspa-caps
--- interface.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) --- a/interface.cc +++ b/interface.cc @@ -123,8 +123,12 @@ void _init() __attribute__ ((destructor)) void _fini() { - for (ulong i = 0; i < N; ++i) - delete descriptors[i]; + for (ulong i = 0; i < N; ++i) { + if (descriptors[i]) { + delete descriptors[i]; + descriptors[i] = 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