Skip to content

Commit 31830df

Browse files
committed
Added initialization of variable for tablespace renaming
1 parent 9e8d70d commit 31830df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dir.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,7 @@ opt_tablespace_map(ConfigOption *opt, const char *arg)
894894
char *dst_ptr;
895895
const char *arg_ptr;
896896

897+
memset(cell, 0, sizeof(TablespaceListCell));
897898
dst_ptr = dst = cell->old_dir;
898899
for (arg_ptr = arg; *arg_ptr; arg_ptr++)
899900
{

0 commit comments

Comments
 (0)