commit | 68207f868bc935c0112f4e66836618acf0e3f061 | [log] [tgz] |
---|---|---|
author | Darryl Green <darryl.green@arm.com> | Mon Nov 27 17:12:14 2017 +0000 |
committer | Simon Butcher <simon.butcher@arm.com> | Wed May 23 16:32:33 2018 +0100 |
tree | b02d04b34af588bb5e952532f033887872ef799e | |
parent | 6856c2ebb5cb65ce2a2febdec61c731dc62878cb [diff] [blame] |
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" );