Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
guitarix
guitarix-mismatched-delete.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File guitarix-mismatched-delete.patch of Package guitarix
diff --git a/src/gx_head/engine/gx_resampler.cpp b/trunk/src/gx_head/engine/gx_resampler.cpp index 38eaaec7..adbba7cc 100644 --- a/src/gx_head/engine/gx_resampler.cpp +++ b/src/gx_head/engine/gx_resampler.cpp @@ -121,13 +121,13 @@ float *BufferResampler::process(int fs_inp, int ilen, float *input, int fs_outp, inp_data = input; float *p = out_data = new float[out_count]; if (Resampler::process() != 0) { - delete p; + delete[] p; return 0; } inp_data = 0; inp_count = k/2; if (Resampler::process() != 0) { - delete p; + delete[] p; return 0; } assert(inp_count == 0);
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