diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-03-26 17:02:38 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-03-26 17:02:38 -0400 |
commit | 7cbd944662854a0a5264895bcba3ce7f9bfd1c1f (patch) | |
tree | 0d8bf274ef580e84950b291469f5291c5706aa13 /src/backend/lib/knapsack.c | |
parent | d77f014efa7eda4357fbc851dbf25c6b256ddf35 (diff) | |
download | postgresql-7cbd944662854a0a5264895bcba3ce7f9bfd1c1f.tar.gz postgresql-7cbd944662854a0a5264895bcba3ce7f9bfd1c1f.zip |
Fix some minor resource leaks in PerformRadiusTransaction().
Failure to free serveraddrs pointed out by Coverity, failure to close
socket noted by code-reading. These bugs seem to be quite old, but
given the low probability of taking these error-exit paths and the
minimal consequences of the leaks (since the process would presumably
exit shortly anyway), it doesn't seem worth back-patching.
Michael Paquier and Tom Lane
Diffstat (limited to 'src/backend/lib/knapsack.c')
0 files changed, 0 insertions, 0 deletions