aboutsummaryrefslogtreecommitdiff
path: root/tests/test_olm_using_malloc.cpp
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-12-14 11:43:00 +0000
committerRichard van der Hoff <richard@matrix.org>2016-12-14 12:05:56 +0000
commit76610c0a3af57b600211ea38bc28bcccabc6a86c (patch)
treef437b11274ed4ed9551ee4c8d105c659ee0e34ef /tests/test_olm_using_malloc.cpp
parentf6c05be8c5d35e725a8a2ed5ad661398ac9f8cd2 (diff)
Allocate memory for message blobs on the heap
Messages can be very large, so we don't really want to allocate them on the stack. Switch to using the heap for them, and try to clean up some of the string handling while we're at it.
Diffstat (limited to 'tests/test_olm_using_malloc.cpp')
0 files changed, 0 insertions, 0 deletions