]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/substitution.c
Argh, wrong replace caused by MS VS 2005 interface.
[irc/rqf/shadowircd.git] / src / substitution.c
index e6d48c47e18b52c0041b02c56e2e48cbe5ecf527..5cef86b09a914eb262b04241e86cd8e14f46f15c 100644 (file)
@@ -34,8 +34,6 @@
  */
 
 #include "stdinc.h"
-#include "tools.h"
-#include "balloc.h"
 #include "s_user.h"
 #include "irc_string.h"
 
@@ -83,9 +81,9 @@ void substitution_free(rb_dlink_list *varlist)
                struct substitution_variable *tmp = (struct substitution_variable *) nptr->data;
 
                rb_dlinkDelete(nptr, varlist);
-               MyFree(tmp->name);
-               MyFree(tmp->value);
-               MyFree(tmp);
+               rb_free(tmp->name);
+               rb_free(tmp->value);
+               rb_free(tmp);
        }
 }