summaryrefslogtreecommitdiff
path: root/mysys/mf_wfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/mf_wfile.c')
-rw-r--r--mysys/mf_wfile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/mf_wfile.c b/mysys/mf_wfile.c
index 4a4fb466600..95c4c006b2c 100644
--- a/mysys/mf_wfile.c
+++ b/mysys/mf_wfile.c
@@ -118,7 +118,6 @@ found:
void wf_end(WF_PACK *buffer)
{
DBUG_ENTER("wf_end");
- if (buffer)
- my_free(buffer, MYF(0));
+ my_free(buffer);
DBUG_VOID_RETURN;
} /* wf_end */