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

Commit4a6232c

Browse files
committed
Fix error-checking typo in check_TSCurrentConfig().
The code failed to detect an out-of-memory failure.Xi Wang
1 parentebab595 commit4a6232c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/cache/ts_cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ check_TSCurrentConfig(char **newval, void **extra, GucSource source)
643643
free(*newval);
644644
*newval=strdup(buf);
645645
pfree(buf);
646-
if (!newval)
646+
if (!*newval)
647647
return false;
648648
}
649649

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp