1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Converted all m_free to xfree etc.

This commit is contained in:
Werner Koch 2005-07-27 18:10:56 +00:00
parent cd570629b2
commit a1cdf3c75f
112 changed files with 2067 additions and 1813 deletions

View file

@ -89,7 +89,7 @@ getsrv(const char *name,struct srventry **list)
struct srventry *srv=NULL;
u16 type,class;
*list=m_realloc(*list,(srvcount+1)*sizeof(struct srventry));
*list=xrealloc(*list,(srvcount+1)*sizeof(struct srventry));
memset(&(*list)[srvcount],0,sizeof(struct srventry));
srv=&(*list)[srvcount];
srvcount++;
@ -216,12 +216,12 @@ getsrv(const char *name,struct srventry **list)
return srvcount;
noanswer:
m_free(*list);
xfree(*list);
*list=NULL;
return 0;
fail:
m_free(*list);
xfree(*list);
*list=NULL;
return -1;
}
@ -246,7 +246,7 @@ main(int argc,char *argv[])
printf("\n");
}
m_free(srv);
xfree(srv);
return 0;
}