diff options
author | kaa@polly.local <> | 2005-01-17 19:21:01 +0300 |
---|---|---|
committer | kaa@polly.local <> | 2005-01-17 19:21:01 +0300 |
commit | c46f527454807e36c417bc5aa075786a65df4559 (patch) | |
tree | a53cee255847a24057992306d10083ede898dc80 /libmysql | |
parent | 50e0474394ad50bc391ec52bcad17a6f840ed4da (diff) | |
download | mariadb-git-c46f527454807e36c417bc5aa075786a65df4559.tar.gz |
Fixed memory leak in handle_local_infile()
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 10077e695f3..206fd8f77b4 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -852,6 +852,7 @@ my_bool handle_local_infile(MYSQL *mysql, const char *net_filename) err: /* free up memory allocated with _init, usually */ (*options->local_infile_end)(li_ptr); + my_free(buf, MYF(0)); DBUG_RETURN(result); } |