X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libcpp%2Fpch.c;h=d278f14370e74a50d0e0d034f686731da0db3eaf;hb=31296338ddc4bfbf4697db161c24f9ccd5f77d32;hp=00b7794ef1debc3e85c59f3415162c69f189c13d;hpb=d91f7526fb89f7d993f570efe6ca75ab6f856370;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libcpp/pch.c b/libcpp/pch.c index 00b7794ef1d..d278f14370e 100644 --- a/libcpp/pch.c +++ b/libcpp/pch.c @@ -713,12 +713,9 @@ cpp_valid_state (cpp_reader *r, const char *name, int fd) return -1; fail: - if (namebuf != NULL) - free (namebuf); - if (undeftab != NULL) - free (undeftab); - if (nl.defs != NULL) - free (nl.defs); + free (namebuf); + free (undeftab); + free (nl.defs); return 1; }