mirror of
https://github.com/postgres/postgres.git
synced 2026-03-03 05:40:43 -05:00
In pg_upgrade, use pg_strudup(), for consistency.
This commit is contained in:
parent
463f2625a5
commit
6b43fddee4
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ getErrorText(int errNum)
|
|||
#ifdef WIN32
|
||||
_dosmaperr(GetLastError());
|
||||
#endif
|
||||
return strdup(strerror(errNum));
|
||||
return pg_strdup(strerror(errNum));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue