summaryrefslogtreecommitdiff
path: root/client/mysql_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysql_plugin.c')
-rw-r--r--client/mysql_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql_plugin.c b/client/mysql_plugin.c
index 72bab3ad528..7fbfeb9e9a6 100644
--- a/client/mysql_plugin.c
+++ b/client/mysql_plugin.c
@@ -856,7 +856,7 @@ static int process_options(int argc, char *argv[], char *operation)
strncat(buff, FN_DIRSEP, sizeof(buff) - strlen(buff) - 1);
#endif
buff[sizeof(buff) - 1]= 0;
- my_delete(opt_basedir, MYF(0));
+ my_free(opt_basedir);
opt_basedir= my_strdup(buff, MYF(MY_FAE));
}
}