summaryrefslogtreecommitdiffstats
path: root/src/dabInputDabplusFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dabInputDabplusFile.cpp')
-rw-r--r--src/dabInputDabplusFile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dabInputDabplusFile.cpp b/src/dabInputDabplusFile.cpp
index c435aba..396a376 100644
--- a/src/dabInputDabplusFile.cpp
+++ b/src/dabInputDabplusFile.cpp
@@ -84,6 +84,7 @@ int dabInputDabplusFileRead(void* args, void* buffer, int size)
delete[] data->buffer;
}
data->buffer = new uint8_t[size * 5];
+ memset(data->buffer, 0, size * 5);
data->bufferSize = size * 5;
data->bufferIndex = 0;
}