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

Commit02db084

Browse files
author
Aleksander Alekseev
committed
Dont ignore repalloc return value. Reported by Tomas Vondra@tvondra
1 parenta7256fa commit02db084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎zson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ jsonb_to_zson(PG_FUNCTION_ARGS)
530530

531531
encoded_size+=VARHDRSZ+ZSON_HEADER_SIZE;
532532

533-
repalloc(encoded_buff,encoded_size);
533+
encoded_buff=repalloc(encoded_buff,encoded_size);
534534
SET_VARSIZE(encoded_buff,encoded_size);
535535
PG_RETURN_BYTEA_P(encoded_buff);
536536
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp