X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fppc%2Fcap.c;h=48ac5bca8d477a2e2a94fbd60416bde4e96481a1;hb=22aa1d51198689f5f3f01a874b405bf4449cbfb0;hp=a3be304c81fb0dec2b1cb7bcbd55c30a88d855a7;hpb=dc9e099fc0eced486ae2b49455c9da113c11f4ff;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/ppc/cap.c b/sim/ppc/cap.c index a3be304c81..48ac5bca8d 100644 --- a/sim/ppc/cap.c +++ b/sim/ppc/cap.c @@ -4,7 +4,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + along with this program; if not, see . */ @@ -123,7 +122,7 @@ cap_remove(cap *db, if ((*current_map)->internal == internal) { cap_mapping *delete = *current_map; *current_map = delete->next; - zfree(delete); + free(delete); return; } current_map = &(*current_map)->next;