Content-Length: 269153 | pFad | http://github.com/postgrespro/postgres/commit/8f1c91d7a12379094657479705e4e14c7a095bb0

EB fix · postgrespro/postgres@8f1c91d · GitHub
Skip to content

Commit 8f1c91d

Browse files
committed
fix
1 parent 698ace9 commit 8f1c91d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bin/pg_upgrade/info.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ free_db_and_rel_infos(DbInfoArr *db_arr)
711711
for (dbnum = 0; dbnum < db_arr->ndbs; dbnum++)
712712
{
713713
free_rel_infos(&db_arr->dbs[dbnum].rel_arr);
714+
714715
if (&db_arr->dbs[dbnum].non_def_acl_arr.nacls > 0)
715716
free_acl_infos(&db_arr->dbs[dbnum].non_def_acl_arr);
716717
pg_free(db_arr->dbs[dbnum].db_name);
@@ -751,6 +752,7 @@ free_acl_infos(AclInfoArr *acl_arr)
751752
pg_free(acl_arr->aclinfos[aclnum].role_names);
752753
}
753754
pg_free(acl_arr->aclinfos);
755+
acl_arr->aclinfos = NULL;
754756
acl_arr->nacls = 0;
755757
pg_log(PG_REPORT, "free_acl_infos 2 %d\n", acl_arr->nacls);
756758
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/8f1c91d7a12379094657479705e4e14c7a095bb0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy