Commit 92850380 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1377

fixed a couple of free's to dlfree

git-svn-id: file:///svn/mysql/tokudb-engine/src@9152 c7de825b-a66e-492c-adef-691d508d4ae1
parent d221aeac
...@@ -4354,7 +4354,7 @@ void ha_tokudb::init_auto_increment() { ...@@ -4354,7 +4354,7 @@ void ha_tokudb::init_auto_increment() {
if (error == 0 && value.size == sizeof(share->last_auto_increment)) { if (error == 0 && value.size == sizeof(share->last_auto_increment)) {
share->last_auto_increment = *(uint *)value.data; share->last_auto_increment = *(uint *)value.data;
free(value.data); dlfree(value.data);
value.data = NULL; value.data = NULL;
} }
else { else {
...@@ -4376,7 +4376,7 @@ void ha_tokudb::init_auto_increment() { ...@@ -4376,7 +4376,7 @@ void ha_tokudb::init_auto_increment() {
if (error == 0 && value.size == sizeof(share->auto_inc_create_value)) { if (error == 0 && value.size == sizeof(share->auto_inc_create_value)) {
share->auto_inc_create_value = *(uint *)value.data; share->auto_inc_create_value = *(uint *)value.data;
free(value.data); dlfree(value.data);
value.data = NULL; value.data = NULL;
} }
else { else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment