Skip to content

Commit a62cac1

Browse files
committed
test_7
1 parent 9961292 commit a62cac1

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

cava.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,6 @@ Keys:\n\
675675
}
676676
} // resize terminal
677677
cava_destroy(plan);
678-
free(plan);
679678
audio_raw_clean(&audio_raw);
680679
} // reloading config
681680

cavacore.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,8 @@ void cava_destroy(struct cava_plan *p) {
485485
fftw_free(p->in_r_raw);
486486
fftw_destroy_plan(p->p_r);
487487
}
488+
489+
free(p);
488490
}
489491

490492
#ifdef __ANDROID__

cavacore_test.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ void main() {
9595
bp_ok = 0;
9696
}
9797
cava_destroy(plan);
98-
free(plan);
9998
free(cava_in);
10099
free(cava_out);
101100
if (bp_ok == 1) {

0 commit comments

Comments
 (0)