commit | b11de306c424c0206a7c4eff1031286236f901d2 | [log] [tgz] |
---|---|---|
author | Darryl Green <darryl.green@arm.com> | Mon Nov 27 17:12:14 2017 +0000 |
committer | Darryl Green <darryl.green@arm.com> | Tue Jun 12 16:56:04 2018 +0100 |
tree | 866fb5aca8cd42134d7f21866d03cd4b871260b1 | |
parent | fcfa4c21c19920050ce5c8761a598c4d7a8640f4 [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 ceaeda1..51ea7c4 100644 --- a/library/memory_buffer_alloc.c +++ b/library/memory_buffer_alloc.c
@@ -518,7 +518,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" );