except.c (find_all_handler_type_matches): Free the list if we found no matches.
* except.c (find_all_handler_type_matches): Free the list if we found no matches. From-SVN: r29227
This commit is contained in:
parent
76095e2f54
commit
a9f0664a5a
@ -1,5 +1,8 @@
|
||||
Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* except.c (find_all_handler_type_matches): Free the list if
|
||||
we found no matches.
|
||||
|
||||
* combine.c (SUBST): Break out to a real function do_SUBST.
|
||||
(SUBST_INT): Likewise.
|
||||
* gcse.c (free_pre_mem): Free `temp_bitmap'.
|
||||
|
@ -844,6 +844,12 @@ find_all_handler_type_matches (array)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (n_ptr == 0)
|
||||
{
|
||||
free (ptr);
|
||||
ptr = NULL;
|
||||
}
|
||||
*array = ptr;
|
||||
return n_ptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user