[F] Fixed compilation errors

This commit is contained in:
seleznevae 2019-08-25 11:16:15 +03:00
parent 21c26993e6
commit aec4c3d376
2 changed files with 6 additions and 4 deletions

View File

@ -3057,8 +3057,9 @@ const void *ft_to_string_impl(const ft_table_t *table, enum str_buf_type b_type)
return NULL; return NULL;
if (rows == 0) { if (rows == 0) {
result = empty_str_arr[b_type]; F_FREE(col_vis_width_arr);
goto clear; F_FREE(row_vis_height_arr);
return empty_str_arr[b_type];
} }
int tmp = 0; int tmp = 0;

View File

@ -640,8 +640,9 @@ const void *ft_to_string_impl(const ft_table_t *table, enum str_buf_type b_type)
return NULL; return NULL;
if (rows == 0) { if (rows == 0) {
result = empty_str_arr[b_type]; F_FREE(col_vis_width_arr);
goto clear; F_FREE(row_vis_height_arr);
return empty_str_arr[b_type];
} }
int tmp = 0; int tmp = 0;