summaryrefslogtreecommitdiff
path: root/sql/sql_db.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2006-02-25 13:58:00 +0200
committerunknown <monty@mysql.com>2006-02-25 13:58:00 +0200
commit635d5b734a89122e90d1a9767110a8b69ce8be1e (patch)
tree32efcaa79697bf3d41c1635b906139cf08c5387e /sql/sql_db.cc
parent6436f923dff161cc361d40e40d01fdb962d8a2fd (diff)
downloadmariadb-git-635d5b734a89122e90d1a9767110a8b69ce8be1e.tar.gz
Add back free that I accidently removed in last patch
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r--sql/sql_db.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc
index de5a8b3ac1f..344a6887ebb 100644
--- a/sql/sql_db.cc
+++ b/sql/sql_db.cc
@@ -1179,6 +1179,7 @@ end:
x_free(thd->db);
if (dbname && dbname[0] == 0)
{
+ my_free(dbname, MYF(0));
thd->db= NULL;
thd->db_length= 0;
}