Browse files

free tt after printing

This should cover all memory that isn't strdup'd out of kmod's private
allocations.
  • Loading branch information...
1 parent ff6fa63 commit ebe48ab65b23f7e04c8d3ec12ec3fe61f9bcda49 @falconindy committed Mar 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/modtree.c
View
1 src/modtree.c
@@ -426,6 +426,7 @@ int main(int argc, char *argv[])
}
tt_print_table(tt);
+ tt_free_table(tt);
kmod_unref(kmod);
return rc >= 0 ? EXIT_SUCCESS : EXIT_FAILURE;

0 comments on commit ebe48ab

Please sign in to comment.