dbd/mysql/connection.c

changeset 23
a4825c3e65e9
parent 22
fd78e9cdc6e9
child 32
03ed0ca09837
--- 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;
 }

mercurial