diff options
Diffstat (limited to 'src/bin/psql/copy.c')
-rw-r--r-- | src/bin/psql/copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/copy.c b/src/bin/psql/copy.c index 22fcc5975e5..6cc1f4643c8 100644 --- a/src/bin/psql/copy.c +++ b/src/bin/psql/copy.c @@ -97,7 +97,7 @@ parse_slash_copy(const char *args) return NULL; } - result = pg_calloc(1, sizeof(struct copy_options)); + result = pg_malloc0(sizeof(struct copy_options)); result->before_tofrom = pg_strdup(""); /* initialize for appending */ |