diff --git a/src/hash.c b/src/hash.c index 1f730f2d..42159112 100644 --- a/src/hash.c +++ b/src/hash.c @@ -32,6 +32,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef STANDALONE # define xmalloc malloc # define xrealloc realloc +# define xfree free #endif /* INTERFACE: diff --git a/src/html-parse.c b/src/html-parse.c index 0b42746f..bbff6e46 100644 --- a/src/html-parse.c +++ b/src/html-parse.c @@ -99,6 +99,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef STANDALONE # define xmalloc malloc # define xrealloc realloc +# define xfree free #endif /* STANDALONE */ /* Pool support. For efficiency, map_html_tags() stores temporary diff --git a/src/netrc.c b/src/netrc.c index 432a8c17..4177b730 100644 --- a/src/netrc.c +++ b/src/netrc.c @@ -143,6 +143,7 @@ search_netrc (const char *host, const char **acc, const char **passwd, #ifdef STANDALONE /* Normally, these functions would be defined by your package. */ # define xmalloc malloc +# define xfree free # define xstrdup strdup /* The function reads a whole line. It reads the line realloc-ing the