Fix memory leak in tab_destroy
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 4 Jul 2010 12:50:16 +0000 (14:50 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 4 Jul 2010 12:50:16 +0000 (14:50 +0200)
src/output/tab.c

index f6b4886b1f4837327e830fb44cd0c14114878fe4..e4ff158ccd39c74a5c2cb71c240cb955f9d1f477 100644 (file)
@@ -709,6 +709,8 @@ static void
 tab_destroy (struct table *table)
 {
   struct tab_table *t = tab_cast (table);
+  free (t->title);
+  t->title = NULL;
   pool_destroy (t->container);
 }