diff options
Diffstat (limited to 'apps/talk.c')
-rw-r--r-- | apps/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/talk.c b/apps/talk.c index 65368e973f..2ef7fea84d 100644 --- a/apps/talk.c +++ b/apps/talk.c | |||
@@ -496,7 +496,7 @@ static bool load_index_table(int fd, const struct voicefile_header *hdr) | |||
496 | return true; | 496 | return true; |
497 | 497 | ||
498 | ssize_t alloc_size = (hdr->id1_max + hdr->id2_max) * sizeof(struct clip_entry); | 498 | ssize_t alloc_size = (hdr->id1_max + hdr->id2_max) * sizeof(struct clip_entry); |
499 | index_handle = core_alloc_ex("voice index", alloc_size, &talk_ops); | 499 | index_handle = core_alloc_ex(alloc_size, &talk_ops); |
500 | if (index_handle < 0) | 500 | if (index_handle < 0) |
501 | return false; | 501 | return false; |
502 | 502 | ||
@@ -536,7 +536,7 @@ static bool load_header(int fd, struct voicefile_header *hdr) | |||
536 | static bool create_clip_buffer(size_t max_size) | 536 | static bool create_clip_buffer(size_t max_size) |
537 | { | 537 | { |
538 | /* just allocate, populate on an as-needed basis later */ | 538 | /* just allocate, populate on an as-needed basis later */ |
539 | talk_handle = core_alloc_ex("voice data", max_size, &talk_ops); | 539 | talk_handle = core_alloc_ex(max_size, &talk_ops); |
540 | if (talk_handle < 0) | 540 | if (talk_handle < 0) |
541 | goto alloc_err; | 541 | goto alloc_err; |
542 | 542 | ||