X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fppc%2Fpk_disklabel.c;h=fb820fd32dd9ca279ec9de7b3be3fe6b4f7e0ba6;hb=2951f6c068f961a2ea1de892fc82cf0229af67da;hp=91dcf7ce562b1ac36dea8362a35f084f14e3e12a;hpb=abd8680d6efd97e7ba848a6392ee3ad72be18cd0;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/ppc/pk_disklabel.c b/sim/ppc/pk_disklabel.c index 91dcf7ce56..fb820fd32d 100644 --- a/sim/ppc/pk_disklabel.c +++ b/sim/ppc/pk_disklabel.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 . */ @@ -111,7 +110,7 @@ disklabel_delete(device_instance *instance) { disklabel *label = device_instance_data(instance); device_instance_delete(label->raw_disk); - zfree(label); + free(label); }