mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
In pg_upgrade, fix a few place that used maloc/free rather than
pg_malloc/pg_free.
This commit is contained in:
@@ -987,7 +987,7 @@ get_canonical_locale_name(int category, const char *locale)
|
||||
if (!setlocale(category, save))
|
||||
pg_log(PG_FATAL, "failed to restore old locale \"%s\"\n", save);
|
||||
|
||||
free(save);
|
||||
pg_free(save);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user