commit | ce52b58da0aaf1f6132b69a06d4033c18a13675d | [log] [tgz] |
---|---|---|
author | Darryl Green <darryl.green@arm.com> | Mon Nov 27 17:12:14 2017 +0000 |
committer | Krzysztof Stachowiak <krzysztof.stachowiak@arm.com> | Tue Apr 17 16:46:41 2018 +0200 |
tree | 7a6b0f1b50b16c781dc8d478a8ad29fc09d29cff | |
parent | 0f34b06a4d246815a4946a0a3c170515f1ea69d4 [diff] |
Fix braces in mbedtls_memory_buffer_alloc_status()
diff --git a/library/memory_buffer_alloc.c b/library/memory_buffer_alloc.c index 1cfc27c..eb555f3 100644 --- a/library/memory_buffer_alloc.c +++ b/library/memory_buffer_alloc.c
@@ -522,7 +522,9 @@ heap.alloc_count, heap.free_count ); if( heap.first->next == NULL ) + { mbedtls_fprintf( stderr, "All memory de-allocated in stack buffer\n" ); + } else { mbedtls_fprintf( stderr, "Memory currently allocated:\n" );