1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00
1999-05-14  Ulrich Drepper  <drepper@cygnus.com>

	* nss/getXXbyYY.c: Add free_mem function which disposes all
	statically allocated memory when debugging.
	* nss/getXXent.c: Likewise.
	* nss/nsswitch.c: Likewise.
This commit is contained in:
Ulrich Drepper
1999-05-14 00:22:24 +00:00
parent c22ecc5269
commit d60d215c57
5 changed files with 98 additions and 3 deletions

View File

@ -19,7 +19,10 @@
#include <assert.h>
#include <string.h>
#include <utmp.h>
/* This is an ugly hack but we must not see the getutmpx declaration. */
#define getutmpx XXXgetutmpx
#include <utmpx.h>
#undef getutmpx
void
getutmp (const struct utmpx *utmpx, struct utmp *utmp)