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

Commit 5a1d0c9

Browse files
committed
Fix relcache reference leak
Introduced by 83fd453
1 parent 8a47b77 commit 5a1d0c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/catalog/pg_publication.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,9 @@ GetAllTablesPublicationRelations(bool pubviaroot)
398398
}
399399

400400
table_endscan(scan);
401-
table_close(classRel, AccessShareLock);
402401
}
403402

403+
table_close(classRel, AccessShareLock);
404404
return result;
405405
}
406406

0 commit comments

Comments
 (0)