Commit 6fe882cd authored by Eric Herman's avatar Eric Herman Committed by Daniel Black

Add my_afree after my_alloca in early return case

The code already had a call to `my_afree` in the normal return case,
but failed to do so in the early return case.
parent 0ddbec40
...@@ -3598,7 +3598,10 @@ print_table_data(MYSQL_RES *result) ...@@ -3598,7 +3598,10 @@ print_table_data(MYSQL_RES *result)
{ {
print_field_types(result); print_field_types(result);
if (!mysql_num_rows(result)) if (!mysql_num_rows(result))
{
my_afree((uchar*) num_flag);
return; return;
}
mysql_field_seek(result,0); mysql_field_seek(result,0);
} }
separator.copy("+",1,charset_info); separator.copy("+",1,charset_info);
......
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