aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2018-03-05 18:49:58 -0800
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2018-03-09 11:47:17 -0800
commita9f3cedc6ed6e923854edc5feddd42a39941f01c (patch)
tree82b7e0b4d9b3252805f624b3fa6246cfaab24c02 /src
parenta1738f4efd7cfdaec576e54df90422e36cc6a8df (diff)
downloadplatform_external_jemalloc_new-a9f3cedc6ed6e923854edc5feddd42a39941f01c.tar.gz
platform_external_jemalloc_new-a9f3cedc6ed6e923854edc5feddd42a39941f01c.tar.bz2
platform_external_jemalloc_new-a9f3cedc6ed6e923854edc5feddd42a39941f01c.zip
Stats printing: remove a spurious newline.
This was left over from a previous emitter conversion. It didn't affect the correctness of the output.
Diffstat (limited to 'src')
-rw-r--r--src/stats.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stats.c b/src/stats.c
index 0d81584e..05a452fd 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -1231,9 +1231,6 @@ stats_print(void (*write_cb)(void *, const char *), void *cbopaque,
if (general) {
stats_general_print(&emitter);
}
- if (json) {
- malloc_cprintf(write_cb, cbopaque, "\n");
- }
if (config_stats) {
stats_print_helper(&emitter, merged, destroyed, unmerged,
bins, large, mutex);