Skip to content

Commit c667ecc

Browse files
authored
ffap: fix aligned memory free on windows (#3312)
1 parent 2d9b0d3 commit c667ecc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

plugins/ffap/ffap.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,11 @@ ape_free_ctx (APEContext *ape_ctx) {
656656
}
657657
for (i = 0; i < APE_FILTER_LEVELS; i++) {
658658
if (ape_ctx->filterbuf[i]) {
659+
#ifdef __MINGW32__
660+
__mingw_aligned_free (ape_ctx->filterbuf[i]);
661+
#else
659662
free (ape_ctx->filterbuf[i]);
663+
#endif
660664
ape_ctx->filterbuf[i] = NULL;
661665
}
662666
}

0 commit comments

Comments
 (0)