Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix memory leak, cleanup
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Sep 19, 2021
1 parent bfd9020 commit fdfd21f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Expand Up @@ -255,7 +255,7 @@ jobs:
- name: Build plugins
env:
CFLAGS: -g
CXXFLAGS: -g
CXXFLAGS: -g -DDPF_ABORT_ON_ERROR
LDFLAGS: -static-libgcc -static-libstdc++
run: |
make features
Expand Down
5 changes: 1 addition & 4 deletions plugins/bitcrush/Makefile
Expand Up @@ -29,13 +29,10 @@ BUILD_CXX_FLAGS += -Wno-unused-parameter
# --------------------------------------------------------------
# Enable all possible plugin types

ifeq ($(HAVE_JACK),true)
TARGETS += jack
endif

TARGETS += ladspa
TARGETS += lv2_dsp
TARGETS += vst
TARGETS += vst2

all: $(TARGETS)

Expand Down
1 change: 1 addition & 0 deletions plugins/common/gen_dsp/genlib.cpp
Expand Up @@ -221,6 +221,7 @@ void genlib_data_release(t_genlib_data *b) {
genlib_sysmem_freeptr(self->info.data);
self->info.data = 0;
}
genlib_sysmem_freeptr(self);
}

long genlib_data_getcursor(t_genlib_data *b) {
Expand Down
5 changes: 1 addition & 4 deletions plugins/freeverb/Makefile
Expand Up @@ -29,13 +29,10 @@ BUILD_CXX_FLAGS += -Wno-unused-parameter
# --------------------------------------------------------------
# Enable all possible plugin types

ifeq ($(HAVE_JACK),true)
TARGETS += jack
endif

TARGETS += ladspa
TARGETS += lv2_dsp
TARGETS += vst
TARGETS += vst2

all: $(TARGETS)

Expand Down
5 changes: 1 addition & 4 deletions plugins/gigaverb/Makefile
Expand Up @@ -29,13 +29,10 @@ BUILD_CXX_FLAGS += -Wno-unused-parameter
# --------------------------------------------------------------
# Enable all possible plugin types

ifeq ($(HAVE_JACK),true)
TARGETS += jack
endif

TARGETS += ladspa
TARGETS += lv2_dsp
TARGETS += vst
TARGETS += vst2

all: $(TARGETS)

Expand Down
5 changes: 1 addition & 4 deletions plugins/pitchshift/Makefile
Expand Up @@ -29,13 +29,10 @@ BUILD_CXX_FLAGS += -Wno-unused-parameter
# --------------------------------------------------------------
# Enable all possible plugin types

ifeq ($(HAVE_JACK),true)
TARGETS += jack
endif

TARGETS += ladspa
TARGETS += lv2_dsp
TARGETS += vst
TARGETS += vst2

all: $(TARGETS)

Expand Down

0 comments on commit fdfd21f

Please sign in to comment.