aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBastien Bouclet2018-11-16 14:12:44 +0100
committerBastien Bouclet2018-11-16 18:34:59 +0100
commit4d36606b27f82c8daa5c3f1ea95a279803cb14d1 (patch)
treee5e7b61eecd983bf473cd1c01efaeabd7c60d856 /configure
parente2e1ec27781f4b1c8683d86cbaa9730f300ac532 (diff)
downloadscummvm-rg350-4d36606b27f82c8daa5c3f1ea95a279803cb14d1.tar.gz
scummvm-rg350-4d36606b27f82c8daa5c3f1ea95a279803cb14d1.tar.bz2
scummvm-rg350-4d36606b27f82c8daa5c3f1ea95a279803cb14d1.zip
BUILD: Free the a52 state in the configure compilation test
So ASan does not print a leak report in the middle of the configure output when it is enabled.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index b888e4745f..161551e616 100755
--- a/configure
+++ b/configure
@@ -4459,7 +4459,8 @@ extern "C" {
}
int main(void) {
- a52_init(0);
+ a52_state_t *state = a52_init(0);
+ a52_free(state);
return 0;
}
EOF