Commit e0f76f2
committed
pg_waldump: Fix small memory leak when rmgr->rm_identify returns NULL.
This got broken in 604f795, shortly after rm_identify's
introduction.
Author: Andres Freund
Discussion: https://postgr.es/m/20191029233341.4gnyau7e5v2lh5sc@alap3.anarazel.de
Backpatch: 9.5, where rm_identify was introduced1 parent 6ca86bb commit e0f76f2
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | 520 | | |
525 | 521 | | |
526 | 522 | | |
527 | 523 | | |
528 | 524 | | |
529 | 525 | | |
530 | | - | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
531 | 532 | | |
532 | 533 | | |
533 | 534 | | |
| |||
0 commit comments