]> sjero.net Git - wget/commitdiff
[svn] Make sure xfree is #define'd in standalone mode in files that
authorhniksic <devnull@localhost>
Wed, 22 Nov 2000 17:00:31 +0000 (09:00 -0800)
committerhniksic <devnull@localhost>
Wed, 22 Nov 2000 17:00:31 +0000 (09:00 -0800)
support one.

src/hash.c
src/html-parse.c
src/netrc.c

index 1f730f2d353a451889d7ab242eb81e1d1bb4ac78..42159112d110f8a2d589a62d4548080f9bbc368c 100644 (file)
@@ -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:
index 0b42746f8bb2aa8a2bb368a88164961f19181d70..bbff6e46a623d0e286604f75aac7e0d0bee3a558 100644 (file)
@@ -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
index 432a8c17e215243d6c2412f7c51e0168f9635870..4177b7304ae08833697da223263d2b98a6d12023 100644 (file)
@@ -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