summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2001-11-24 17:45:22 +0100
committerunknown <serg@serg.mysql.com>2001-11-24 17:45:22 +0100
commit056c71f1ae445b96c13e241d40a729f16e65bb4a (patch)
tree0174d3f159a0445fe8bd7d288f1a87b63300495d /sql/sql_update.cc
parent8ff92c30b5c1690e7d29f7c166ef2226c43f772c (diff)
downloadmariadb-git-056c71f1ae445b96c13e241d40a729f16e65bb4a.tar.gz
memory leak fixed
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index 270f164bf80..3111268849f 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -335,5 +335,6 @@ int mysql_update(THD *thd,
DBUG_PRINT("info",("%d records updated",updated));
}
thd->count_cuted_fields=0; /* calc cuted fields */
+ free_io_cache(table);
DBUG_RETURN(0);
}