mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
In pg_upgrade, use pg_strudup(), for consistency.
This commit is contained in:
@ -230,7 +230,7 @@ getErrorText(int errNum)
|
||||
#ifdef WIN32
|
||||
_dosmaperr(GetLastError());
|
||||
#endif
|
||||
return strdup(strerror(errNum));
|
||||
return pg_strdup(strerror(errNum));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user