summaryrefslogtreecommitdiff
path: root/sql-common/client.c
diff options
context:
space:
mode:
authorHe Zhenxing <zhenxing.he@sun.com>2009-10-02 16:18:40 +0800
committerHe Zhenxing <zhenxing.he@sun.com>2009-10-02 16:18:40 +0800
commit4354cfd4043b9b54a3a2923374fc6cb615bf6ab7 (patch)
tree237d3b2bcf002c27bf44f70a7bb90f0236fae8f7 /sql-common/client.c
parent494adde6fbd9d5b3ec194ec3aef5ba7e88cc987c (diff)
downloadmariadb-git-4354cfd4043b9b54a3a2923374fc6cb615bf6ab7.tar.gz
Backport BUG#38468 Memory leak detected when using mysqlbinlog utility
There were two memory leaks in mysqlbinlog command, one was already fixed by previous patches, another one was that defaults_argv was set to the value of argv after parse_args, in which called handle_options after calling load_defaults and changed the value of argv, and caused the memory allocated for defaults arguments not freed. Fixed the problem by setting defaults_argv right after calling load_defaults.
Diffstat (limited to 'sql-common/client.c')
0 files changed, 0 insertions, 0 deletions