Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6b43fdd

Browse files
committed
In pg_upgrade, use pg_strudup(), for consistency.
1 parent 463f262 commit 6b43fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_upgrade/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ getErrorText(int errNum)
230230
#ifdef WIN32
231231
_dosmaperr(GetLastError());
232232
#endif
233-
return strdup(strerror(errNum));
233+
return pg_strdup(strerror(errNum));
234234
}
235235

236236

0 commit comments

Comments
 (0)