[fabbione/kronosnet] 4e70a8: vty_utils: fix segfault when free'ing history