forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbb604d0
committed
Plug memory leak when reloading config file.
The absolute path to config file was not pfreed. There are probably moresmall leaks here and there in the config file reload code and assign hooks,and in practice no-one reloads the config files frequently enough for it tobe a problem, but this one is trivial enough that might as well fix it.Backpatch to 9.3 where the leak was introduced.1 parentb0aa177 commitbb604d0
1 file changed
+7
-5
lines changedLines changed: 7 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
409 | 409 |
| |
410 | 410 |
| |
411 | 411 |
| |
| 412 | + | |
412 | 413 |
| |
413 | 414 |
| |
414 | 415 |
| |
| |||
426 | 427 |
| |
427 | 428 |
| |
428 | 429 |
| |
429 |
| - | |
430 |
| - | |
| 430 | + | |
| 431 | + | |
431 | 432 |
| |
432 | 433 |
| |
433 | 434 |
| |
434 | 435 |
| |
435 | 436 |
| |
436 | 437 |
| |
437 | 438 |
| |
438 |
| - | |
| 439 | + | |
439 | 440 |
| |
440 | 441 |
| |
441 | 442 |
| |
442 | 443 |
| |
443 | 444 |
| |
444 |
| - | |
| 445 | + | |
445 | 446 |
| |
446 | 447 |
| |
447 | 448 |
| |
448 |
| - | |
| 449 | + | |
449 | 450 |
| |
450 | 451 |
| |
| 452 | + | |
451 | 453 |
| |
452 | 454 |
| |
453 | 455 |
| |
|
0 commit comments
Comments
(0)