diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-01-14 19:53:30 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-01-14 19:53:30 -0800 |
commit | 2c1ac7e98d07c5c7e86bea933920fd6a7d9a9dd8 (patch) | |
tree | b7595a011999456dc0a569ed66fed4c8ba6df7f0 /src | |
parent | e47512b23dfbabb106dfa2be335405b95a23e192 (diff) |
cache_audio: free jackbuf before exiting thread
Technically fixes a leak, but it's benign since we're shutting
down anyways.
Diffstat (limited to 'src')
-rw-r--r-- | src/rmd_cache_audio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rmd_cache_audio.c b/src/rmd_cache_audio.c index 1fd21b7..6a1d9e5 100644 --- a/src/rmd_cache_audio.c +++ b/src/rmd_cache_audio.c @@ -102,6 +102,10 @@ void *rmdCacheAudioBuffer(ProgData *pdata) } } +#ifdef HAVE_LIBJACK + free(jackbuf); +#endif + fclose(pdata->cache_data->afp); pthread_exit(&errno); } |