mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-31 09:56:16 +02:00
Fix AddressSanitizer alloc-dealloc-mismatch
This commit is contained in:
parent
52af69618c
commit
1bd5365c64
1 changed files with 1 additions and 1 deletions
|
@ -58,8 +58,8 @@ FlacDecoder::FlacDecoder() : Decoder(), lastError_(nullptr)
|
||||||
FlacDecoder::~FlacDecoder()
|
FlacDecoder::~FlacDecoder()
|
||||||
{
|
{
|
||||||
std::lock_guard<std::mutex> lock(mutex_);
|
std::lock_guard<std::mutex> lock(mutex_);
|
||||||
|
FLAC__stream_decoder_delete(decoder);
|
||||||
delete flacChunk;
|
delete flacChunk;
|
||||||
delete decoder;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue