Update to 0.44.1

This commit is contained in:
Guido Aulisi 2022-05-14 00:18:38 +02:00
parent a6fca941c7
commit 114f16e1c9
4 changed files with 28 additions and 3 deletions

1
.gitignore vendored
View File

@ -33,3 +33,4 @@ guitarix-0.11.0.tar.bz2
/guitarix2-0.40.0.tar.xz
/guitarix2-0.42.1.tar.xz
/guitarix2-0.43.1.tar.xz
/guitarix2-0.44.1.tar.xz

View File

@ -0,0 +1,20 @@
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);

View File

@ -4,12 +4,13 @@
%global altname2 guitarix2
Name: guitarix
Version: 0.43.1
Release: 4%{?dist}
Version: 0.44.1
Release: 1%{?dist}
Summary: A virtual guitar amplifier
License: GPLv2+
URL: http://guitarix.sourceforge.net/
Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{altname2}-%{version}.tar.xz
Patch0: %{name}-mismatched-delete.patch
BuildRequires: gcc-c++
BuildRequires: python3
@ -208,6 +209,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.%{name}.%{
%{_libdir}/lv2/*
%changelog
* Fri May 13 2022 Guido Aulisi <guido.aulisi@gmail.com> - 0.44.1-1
- Update to 0.44.1
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 0.43.1-4
- Rebuilt for Boost 1.78

View File

@ -1 +1 @@
SHA512 (guitarix2-0.43.1.tar.xz) = 30e56d863308cea18bb4af6f71d3e8d852662b4252c998507a1c3de9a2d97fe1c4ecb525bd35ef8e176b5cb5138806553cba157c1aa6cb14e48fe0bbea8a7def
SHA512 (guitarix2-0.44.1.tar.xz) = d2c0e40762d97ed7ce61c3115fc3800cc569a2bb4f66e09147507a9eaa815fb9d1363444353a5854035755bd1b1e247ccb341aed60ca0ecf6a77019da73064c1