2005-07-10 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (free_used_part_map): Add missing free.
(up_insert): Ditto.
From-SVN: r101854
+2005-07-10 Daniel Berlin <dberlin@dberlin.org>
+
+ * tree-ssa-alias.c (free_used_part_map): Add missing free.
+ (up_insert): Ditto.
+
2005-07-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.c (pa_commutative_p): Make PLUS commutative when
free_used_part_map (void *item)
{
free (((struct used_part_map *)item)->to);
+ free (item);
}
/* Lookup a used_part structure for a UID. */
h->to = to;
loc = htab_find_slot_with_hash (used_portions, h,
uid, INSERT);
+ if (*loc != NULL)
+ free (*loc);
*(struct used_part_map **) loc = h;
}