summaryrefslogtreecommitdiff
path: root/client/mysql_plugin.c
diff options
context:
space:
mode:
authorVenkata Sidagam <venkata.sidagam@oracle.com>2013-09-05 14:18:43 +0530
committerVenkata Sidagam <venkata.sidagam@oracle.com>2013-09-05 14:18:43 +0530
commitb0915e6abdd607fc666025ca57aef615b4816864 (patch)
tree2098dbdd64a72618dbdcdc764dbb08a5badb2fe6 /client/mysql_plugin.c
parent14976fbe8a5d9e88cba6474808b8b59790e84c3e (diff)
downloadmariadb-git-b0915e6abdd607fc666025ca57aef615b4816864.tar.gz
Bug #17168602 MYSQL_PLUGIN REMOVES NON-DIRECTORY TYPE
FILES SPECIFIED WITH THE BASEDIR OPTION Reverting the patch. Because asked for second review.
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 7fbfeb9e9a6..72bab3ad528 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_free(opt_basedir);
+ my_delete(opt_basedir, MYF(0));
opt_basedir= my_strdup(buff, MYF(MY_FAE));
}
}