We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa80b1f commit 867493eCopy full SHA for 867493e
vops.c
@@ -92,7 +92,7 @@ static struct {
92
#define PG_GETARG_VOPS(type,n) ((vops_##type*)VARDATA_ANY(PG_GETARG_VARLENA_PP(n)))
93
static void* vops_new(size_t size)
94
{
95
- text *result = (text *) palloc(size + VARHDRSZ);
+ text *result = (text *) palloc0(size + VARHDRSZ);
96
SET_VARSIZE(result, size + VARHDRSZ);
97
return result;
98
}
0 commit comments