diff options
author | unknown <kaa@polly.local> | 2005-01-17 19:21:01 +0300 |
---|---|---|
committer | unknown <kaa@polly.local> | 2005-01-17 19:21:01 +0300 |
commit | 4fc1801d08b08dbb86f82cf83c11f5b90aaca745 (patch) | |
tree | a53cee255847a24057992306d10083ede898dc80 /libmysql | |
parent | e0cbfe76582ed85b13d291b3204ace57872b9f24 (diff) | |
download | mariadb-git-4fc1801d08b08dbb86f82cf83c11f5b90aaca745.tar.gz |
Fixed memory leak in handle_local_infile()
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
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); } |