diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-03-17 10:45:15 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-03-17 11:04:40 +0100 |
commit | 0b9fb9aea98dbe727ea0693ba91679b61885dcd9 (patch) | |
tree | ace3444601d9a7af4c09c29ea0ce51ad8be5a106 | |
parent | c29e450e372239be08e0a30b28fc96c4ca2952e3 (diff) | |
download | mariadb-git-0b9fb9aea98dbe727ea0693ba91679b61885dcd9.tar.gz |
MDEV-9568 mysqlcheck crashes with nonexistent table name
remove erroneous free() call
-rw-r--r-- | client/mysqlcheck.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c index 267d847aa52..57b61574627 100644 --- a/client/mysqlcheck.c +++ b/client/mysqlcheck.c @@ -512,7 +512,6 @@ static int is_view(const char *table) { fprintf(stderr, "Failed to %s\n", query); fprintf(stderr, "Error: %s\n", mysql_error(sock)); - my_free(query); DBUG_RETURN(-1); } res= mysql_store_result(sock); |