summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/st.c b/st.c
index 5ddb6d9d2b..a51d7cf8c8 100644
--- a/st.c
+++ b/st.c
@@ -63,6 +63,7 @@ static void rehash(st_table *);
#ifdef RUBY
#define malloc xmalloc
#define calloc xcalloc
+#define free(x) xfree(x)
#endif
#define alloc(type) (type*)malloc((size_t)sizeof(type))