Commit c46f5274 authored by kaa@polly.local's avatar kaa@polly.local

Fixed memory leak in handle_local_infile()

parent 50e04743
...@@ -93,6 +93,7 @@ joerg@mysql.com ...@@ -93,6 +93,7 @@ joerg@mysql.com
joreland@mysql.com joreland@mysql.com
jorge@linux.jorge.mysql.com jorge@linux.jorge.mysql.com
jplindst@t41.(none) jplindst@t41.(none)
kaa@polly.local
kaj@work.mysql.com kaj@work.mysql.com
kent@mysql.com kent@mysql.com
konstantin@mysql.com konstantin@mysql.com
......
...@@ -852,6 +852,7 @@ my_bool handle_local_infile(MYSQL *mysql, const char *net_filename) ...@@ -852,6 +852,7 @@ my_bool handle_local_infile(MYSQL *mysql, const char *net_filename)
err: err:
/* free up memory allocated with _init, usually */ /* free up memory allocated with _init, usually */
(*options->local_infile_end)(li_ptr); (*options->local_infile_end)(li_ptr);
my_free(buf, MYF(0));
DBUG_RETURN(result); DBUG_RETURN(result);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment