--- a/dbd/mysql/connection.c Sat Dec 20 02:37:22 2008 +0000
+++ b/dbd/mysql/connection.c Sat Dec 20 11:15:15 2008 +0000
@@ -157,6 +157,7 @@
quoted_len = mysql_real_escape_string(conn->mysql, to, from, len);
lua_pushlstring(L, to, quoted_len);
+ free(to);
return 1;
}