Skip to content

Commit fdfd21f

Browse files
committed
Fix memory leak, cleanup
Signed-off-by: falkTX <falktx@falktx.com>
1 parent bfd9020 commit fdfd21f

7 files changed

Lines changed: 7 additions & 18 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ jobs:
255255
- name: Build plugins
256256
env:
257257
CFLAGS: -g
258-
CXXFLAGS: -g
258+
CXXFLAGS: -g -DDPF_ABORT_ON_ERROR
259259
LDFLAGS: -static-libgcc -static-libstdc++
260260
run: |
261261
make features

plugins/bitcrush/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ BUILD_CXX_FLAGS += -Wno-unused-parameter
2929
# --------------------------------------------------------------
3030
# Enable all possible plugin types
3131

32-
ifeq ($(HAVE_JACK),true)
3332
TARGETS += jack
34-
endif
35-
3633
TARGETS += ladspa
3734
TARGETS += lv2_dsp
38-
TARGETS += vst
35+
TARGETS += vst2
3936

4037
all: $(TARGETS)
4138

plugins/common/gen_dsp/genlib.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ void genlib_data_release(t_genlib_data *b) {
221221
genlib_sysmem_freeptr(self->info.data);
222222
self->info.data = 0;
223223
}
224+
genlib_sysmem_freeptr(self);
224225
}
225226

226227
long genlib_data_getcursor(t_genlib_data *b) {

plugins/freeverb/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ BUILD_CXX_FLAGS += -Wno-unused-parameter
2929
# --------------------------------------------------------------
3030
# Enable all possible plugin types
3131

32-
ifeq ($(HAVE_JACK),true)
3332
TARGETS += jack
34-
endif
35-
3633
TARGETS += ladspa
3734
TARGETS += lv2_dsp
38-
TARGETS += vst
35+
TARGETS += vst2
3936

4037
all: $(TARGETS)
4138

plugins/gigaverb/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ BUILD_CXX_FLAGS += -Wno-unused-parameter
2929
# --------------------------------------------------------------
3030
# Enable all possible plugin types
3131

32-
ifeq ($(HAVE_JACK),true)
3332
TARGETS += jack
34-
endif
35-
3633
TARGETS += ladspa
3734
TARGETS += lv2_dsp
38-
TARGETS += vst
35+
TARGETS += vst2
3936

4037
all: $(TARGETS)
4138

plugins/pitchshift/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ BUILD_CXX_FLAGS += -Wno-unused-parameter
2929
# --------------------------------------------------------------
3030
# Enable all possible plugin types
3131

32-
ifeq ($(HAVE_JACK),true)
3332
TARGETS += jack
34-
endif
35-
3633
TARGETS += ladspa
3734
TARGETS += lv2_dsp
38-
TARGETS += vst
35+
TARGETS += vst2
3936

4037
all: $(TARGETS)
4138

0 commit comments

Comments
 (0)