File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -614,6 +614,10 @@ void fix_win_paths(char *val, size_t len);
614
614
const char *get_errname_from_code (uint error_code);
615
615
int multi_reg_replace (struct st_replace_regex * r,char * val);
616
616
617
+ #ifdef _WIN32
618
+ void free_win_path_patterns ();
619
+ #endif
620
+
617
621
618
622
/* For replace_column */
619
623
static char *replace_column[MAX_COLUMNS];
@@ -1462,6 +1466,9 @@ void free_used_memory()
1462
1466
free_root (&require_file_root, MYF (0 ));
1463
1467
free_re ();
1464
1468
my_free (read_command_buf);
1469
+ #ifdef _WIN32
1470
+ free_win_path_patterns ();
1471
+ #endif
1465
1472
DBUG_VOID_RETURN;
1466
1473
}
1467
1474
@@ -9172,6 +9179,7 @@ int main(int argc, char **argv)
9172
9179
init_builtin_echo ();
9173
9180
#ifdef _WIN32
9174
9181
is_windows= 1 ;
9182
+ init_win_path_patterns ();
9175
9183
#endif
9176
9184
9177
9185
read_command_buf= (char *)my_malloc (read_command_buflen= 65536 , MYF (MY_FAE));
You can’t perform that action at this time.
0 commit comments