X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=support%2Fcpp%2Fcpphash.c;h=ae3f09e115842b3d421ef813120ee310c70cc463;hb=e6f797f8ccde60604461df6cbb869546fbfbbc2d;hp=410a404b77379c4bcce8023067e9ec7ba9c8b279;hpb=4b2a5c436502f2a0915dd4eefe3111c2799a8305;p=fw%2Fsdcc diff --git a/support/cpp/cpphash.c b/support/cpp/cpphash.c index 410a404b..ae3f09e1 100644 --- a/support/cpp/cpphash.c +++ b/support/cpp/cpphash.c @@ -137,14 +137,14 @@ delete_macro ( for (ap = d->pattern; ap != NULL; ap = nextap) { nextap = ap->next; - free (ap); + Safe_free (ap); } if (d->nargs >= 0) - free (d->args.argnames); - free (d); + Safe_free (d->args.argnames); + Safe_free (d); } - free (hp); + Safe_free (hp); } /* * install a name in the main hash table, even if it is already there.