diff options
author | unknown <msvensson@pilot.mysql.com> | 2008-04-21 20:43:46 +0200 |
---|---|---|
committer | unknown <msvensson@pilot.mysql.com> | 2008-04-21 20:43:46 +0200 |
commit | d857837934a592ffd174ca62a52e4aa2940b74bb (patch) | |
tree | 7110893e41c6c695f0cec3a57581a14d5d4bc595 /client/mysqltest.c | |
parent | 3d861b6724a49cf44fece923b3ada6cdf5fed45a (diff) | |
download | mariadb-git-d857837934a592ffd174ca62a52e4aa2940b74bb.tar.gz |
Fix valgrind warnings
Diffstat (limited to 'client/mysqltest.c')
-rw-r--r-- | client/mysqltest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index c0c401c8ec3..7031145fbc1 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -3871,6 +3871,7 @@ void do_shutdown_server(struct st_command *command) if (timeout == 0) die("Illegal argument for timeout: '%s'", ds_timeout.str); } + dynstr_free(&ds_timeout); /* Get the servers pid_file name and use it to read pid */ if (query_get_string(mysql, "SHOW VARIABLES LIKE 'pid_file'", 1, @@ -3897,6 +3898,8 @@ void do_shutdown_server(struct st_command *command) } DBUG_PRINT("info", ("Read pid %d from '%s'", pid, ds_pidfile_name.str)); my_close(fd, MYF(0)); + + dynstr_free(&ds_pidfile_name); } DBUG_PRINT("info", ("Got pid %d", pid)); |