diff options
author | Sinisa@sinisa.nasamreza.org <> | 2004-02-23 14:02:32 +0200 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2004-02-23 14:02:32 +0200 |
commit | 74dc9f16bbc32dba7dcf702eb1657935d20eb1e4 (patch) | |
tree | 22e75fe9fb5832c51b72d13972e2292349bdd28b /client | |
parent | 1c1ac1fd5c1df56cdd127f00cce60316cc370c38 (diff) | |
download | mariadb-git-74dc9f16bbc32dba7dcf702eb1657935d20eb1e4.tar.gz |
A fix for double free of memory in mysqlbinlog.
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlbinlog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 71819070a85..1be4b3754d0 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -938,7 +938,7 @@ int main(int argc, char** argv) { if (init_tmpdir(&tmpdir, 0)) exit(1); - dirname_for_local_load= my_tmpdir(&tmpdir); + dirname_for_local_load= my_strdup(my_tmpdir(&tmpdir),MY_WME); } if (load_processor.init()) |