summaryrefslogtreecommitdiff
path: root/libmysqld/libmysqld.c
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2003-09-19 14:17:55 +0500
committerunknown <hf@deer.(none)>2003-09-19 14:17:55 +0500
commit6e92247842c5244be35f98e6347e472bf0b7175d (patch)
treed7b5e23550a3b56c93fc4abe69bcccc92d92c10e /libmysqld/libmysqld.c
parent83e8881a5ad2a0fdfcb1ad06adca3614b6c7e0e4 (diff)
downloadmariadb-git-6e92247842c5244be35f98e6347e472bf0b7175d.tar.gz
SCRUM
embedded library missed memory freeing added libmysqld/embedded_priv.h: declaration added libmysqld/lib_sql.cc: implementation added libmysqld/libmysqld.c: mysql->thd releasing
Diffstat (limited to 'libmysqld/libmysqld.c')
-rw-r--r--libmysqld/libmysqld.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmysqld/libmysqld.c b/libmysqld/libmysqld.c
index 4862800f0a2..ddde18c1918 100644
--- a/libmysqld/libmysqld.c
+++ b/libmysqld/libmysqld.c
@@ -289,6 +289,9 @@ void STDCALL mysql_close(MYSQL *mysql)
#endif /* HAVE_OPENSSL */
if (mysql->free_me)
my_free((gptr) mysql,MYF(0));
+
+ free_embedded_thd(mysql);
+
}
DBUG_VOID_RETURN;
}