aboutsummaryrefslogtreecommitdiff
path: root/dep/mysqllite/mysys/mf_cache.c
diff options
context:
space:
mode:
authorXanadu <xanadu.xoroi@gmail.com>2011-03-05 00:50:00 +0100
committerXanadu <xanadu.xoroi@gmail.com>2011-03-05 02:41:59 +0100
commitc47c94f958dd11be44bad16cd5d97d9f2fea6dbf (patch)
treef4849f06a2b5bbda7036d07efde8d393ac54e620 /dep/mysqllite/mysys/mf_cache.c
parented148818942fab299f344cb9c421a4df0b09fb98 (diff)
Dep/MySQL: Updated MySQL sources to version 5.5.9 (current GA)
Diffstat (limited to 'dep/mysqllite/mysys/mf_cache.c')
-rw-r--r--dep/mysqllite/mysys/mf_cache.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/dep/mysqllite/mysys/mf_cache.c b/dep/mysqllite/mysys/mf_cache.c
index f0df0f3fa77..691532c0d80 100644
--- a/dep/mysqllite/mysys/mf_cache.c
+++ b/dep/mysqllite/mysys/mf_cache.c
@@ -71,8 +71,8 @@ my_bool open_cached_file(IO_CACHE *cache, const char* dir, const char *prefix,
{
DBUG_RETURN(0);
}
- my_free(cache->dir, MYF(MY_ALLOW_ZERO_PTR));
- my_free(cache->prefix,MYF(MY_ALLOW_ZERO_PTR));
+ my_free(cache->dir);
+ my_free(cache->prefix);
DBUG_RETURN(1);
}
@@ -110,12 +110,12 @@ void close_cached_file(IO_CACHE *cache)
if (cache->file_name)
{
(void) my_delete(cache->file_name,MYF(MY_WME | ME_NOINPUT));
- my_free(cache->file_name,MYF(0));
+ my_free(cache->file_name);
}
#endif
}
- my_free(cache->dir,MYF(MY_ALLOW_ZERO_PTR));
- my_free(cache->prefix,MYF(MY_ALLOW_ZERO_PTR));
+ my_free(cache->dir);
+ my_free(cache->prefix);
}
DBUG_VOID_RETURN;
}