forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7cbd944
committed
Fix some minor resource leaks in PerformRadiusTransaction().
Failure to free serveraddrs pointed out by Coverity, failure to closesocket noted by code-reading. These bugs seem to be quite old, butgiven the low probability of taking these error-exit paths and theminimal consequences of the leaks (since the process would presumablyexit shortly anyway), it doesn't seem worth back-patching.Michael Paquier and Tom Lane1 parentd77f014 commit7cbd944
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2793 | 2793 |
| |
2794 | 2794 |
| |
2795 | 2795 |
| |
| 2796 | + | |
2796 | 2797 |
| |
2797 | 2798 |
| |
2798 | 2799 |
| |
| |||
2827 | 2828 |
| |
2828 | 2829 |
| |
2829 | 2830 |
| |
| 2831 | + | |
2830 | 2832 |
| |
2831 | 2833 |
| |
2832 | 2834 |
| |
| |||
2842 | 2844 |
| |
2843 | 2845 |
| |
2844 | 2846 |
| |
2845 |
| - | |
| 2847 | + | |
2846 | 2848 |
| |
2847 | 2849 |
| |
2848 | 2850 |
| |
| |||
2868 | 2870 |
| |
2869 | 2871 |
| |
2870 | 2872 |
| |
| 2873 | + | |
2871 | 2874 |
| |
2872 | 2875 |
| |
2873 | 2876 |
| |
| |||
2964 | 2967 |
| |
2965 | 2968 |
| |
2966 | 2969 |
| |
| 2970 | + | |
2967 | 2971 |
| |
2968 | 2972 |
| |
2969 | 2973 |
| |
|
0 commit comments
Comments
(0)