diff options
-rw-r--r-- | src/pcm/PcmBuffer.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcm/PcmBuffer.hxx b/src/pcm/PcmBuffer.hxx index 260960726..ae7030f76 100644 --- a/src/pcm/PcmBuffer.hxx +++ b/src/pcm/PcmBuffer.hxx @@ -46,6 +46,7 @@ struct PcmBuffer { void Clear() { g_free(buffer); buffer = nullptr; + size = 0; } /** |