Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit867493e

Browse files
committed
Fill created VOPS instance with zeros
1 parentaa80b1f commit867493e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎vops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static struct {
9292
#definePG_GETARG_VOPS(type,n) ((vops_##type*)VARDATA_ANY(PG_GETARG_VARLENA_PP(n)))
9393
staticvoid*vops_new(size_tsize)
9494
{
95-
text*result= (text*)palloc(size+VARHDRSZ);
95+
text*result= (text*)palloc0(size+VARHDRSZ);
9696
SET_VARSIZE(result,size+VARHDRSZ);
9797
returnresult;
9898
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp