summaryrefslogtreecommitdiff
path: root/topology
diff options
context:
space:
mode:
Diffstat (limited to 'topology')
-rw-r--r--topology/nhlt/nhlt-processor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/topology/nhlt/nhlt-processor.c b/topology/nhlt/nhlt-processor.c
index b2f1ca6..8b570a3 100644
--- a/topology/nhlt/nhlt-processor.c
+++ b/topology/nhlt/nhlt-processor.c
@@ -96,7 +96,7 @@ static int print_as_hex_bytes(uint8_t *manifest_buffer, uint32_t manifest_size,
char *dst;
int i;
- bytes_string_buffer = calloc((manifest_size + nhlt_size) * ALSA_BYTE_CHARS,
+ bytes_string_buffer = calloc((manifest_size + nhlt_size) * ALSA_BYTE_CHARS + 1,
sizeof(uint8_t));
if (!bytes_string_buffer)
return -ENOMEM;