aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/cdv_mem_cb.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2016-12-05 17:59:45 +0100
committerIngela Anderton Andin <[email protected]>2016-12-05 17:59:45 +0100
commit72e702e079d82a7d6bcf3862e9d5e45e5fbb2545 (patch)
treee8c60109c665f685b06cf6ed38f56d7771a1d7d5 /lib/observer/src/cdv_mem_cb.erl
parent51e20c81ff2bf4ab5d212ebe14afb42ebfea8c90 (diff)
parente82b03e0d9384d210a271e43634e7b4c3d3d0fe9 (diff)
downloadotp-72e702e079d82a7d6bcf3862e9d5e45e5fbb2545.tar.gz
otp-72e702e079d82a7d6bcf3862e9d5e45e5fbb2545.tar.bz2
otp-72e702e079d82a7d6bcf3862e9d5e45e5fbb2545.zip
Merge branch 'maint'
Diffstat (limited to 'lib/observer/src/cdv_mem_cb.erl')
-rw-r--r--lib/observer/src/cdv_mem_cb.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/observer/src/cdv_mem_cb.erl b/lib/observer/src/cdv_mem_cb.erl
index ba972d6963..abeddc7335 100644
--- a/lib/observer/src/cdv_mem_cb.erl
+++ b/lib/observer/src/cdv_mem_cb.erl
@@ -77,6 +77,10 @@ fix_alloc([{Title,Columns,Data}|Tables]) ->
fix_alloc(Tables)];
fix_alloc([{Title,[{_,V}|_]=Data}|Tables]) ->
fix_alloc([{Title,lists:duplicate(length(V),[]),Data}|Tables]);
+fix_alloc([{"",[]}|Tables]) -> % no name and no data, probably truncated dump
+ fix_alloc(Tables);
+fix_alloc([{Title,[]=Data}|Tables]) -> % no data, probably truncated dump
+ fix_alloc([{Title,[],Data}|Tables]);
fix_alloc([]) ->
[].