From 9921017a4b14b379d99305e17f8583ff90de0c1b Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 18 Aug 2005 07:36:18 +0000 Subject: memory leak malloc/free cleanup --- src/ivybind.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/ivybind.c') diff --git a/src/ivybind.c b/src/ivybind.c index 656be62..9d95e92 100644 --- a/src/ivybind.c +++ b/src/ivybind.c @@ -15,7 +15,6 @@ * copyright notice regarding this software */ /* Module de gestion de la syntaxe des messages Ivy */ - #include #include #include @@ -24,6 +23,11 @@ #include #include +#ifdef WIN32 +#include +#endif + + #ifdef USE_PCRE_REGEX #define OVECSIZE 60 /* must be multiple of 3, for regexp return */ #include @@ -274,7 +278,7 @@ void IvyBindingParseMessage( const char *msg ) { char *val = strtok( NULL, " ="); if ( arg && val ) - hash_add( msg_args_values, (HASHKEYTYPE)arg, val ); + hash_addstring( msg_args_values, arg, val ); } } int IvyBindingFilter(IvyBindingType typ, int len, const char *exp) -- cgit v1.1