diff --git a/ChangeLog b/ChangeLog index bdaabd0c63..2f9218797f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jul 30 22:19:13 2008 Yusuke Endoh + + * parse.y (vtable_free): remove meaningless null check. + Wed Jul 30 22:08:25 2008 Tanaka Akira * dir.c (struct dir_data): change path field char * to VALUE. diff --git a/parse.y b/parse.y index 2d832b132e..1e93d59d11 100644 --- a/parse.y +++ b/parse.y @@ -155,9 +155,7 @@ vtable_free(struct vtable *tbl) if (tbl->tbl) { xfree(tbl->tbl); } - if (tbl) { - xfree(tbl); - } + xfree(tbl); } }