Commit 26d373a
authored
Beautify
Some variable declaration to beginning of function to
enforce C90 and long-standing coding practice of PostgreSQL.
Also, be tidy, and release memory allocated in GetDatabasePath.
This is not a real memory leak, as standby promotion happends
only once (until next restart).
Per coverity report 529246.UpdateCatalogForStandbyPromotion. (#1501)1 parent e0bd15d commit 26d373a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6528 | 6528 | | |
6529 | 6529 | | |
6530 | 6530 | | |
| 6531 | + | |
6531 | 6532 | | |
6532 | 6533 | | |
6533 | 6534 | | |
| |||
6599 | 6600 | | |
6600 | 6601 | | |
6601 | 6602 | | |
6602 | | - | |
6603 | | - | |
6604 | 6603 | | |
6605 | 6604 | | |
6606 | 6605 | | |
| |||
6620 | 6619 | | |
6621 | 6620 | | |
6622 | 6621 | | |
| 6622 | + | |
6623 | 6623 | | |
6624 | 6624 | | |
6625 | 6625 | | |
| |||
0 commit comments