forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita03b3b6
committed
Avoid potential UCollator leak for older ICU versions.
ICU versions 53 and earlier rely on icu_set_collation_attributes() toprocess the attributes in the locale string. Avoid leaking thealready-opened UCollator object if an error is encountered.Discussion:https://postgr.es/m/04182066-7655-344a-b8b7-040b1b2490fb%40enterprisedb.comReviewed-by: Peter Eisentraut1 parent9a24289 commita03b3b6
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2810 | 2810 |
| |
2811 | 2811 |
| |
2812 | 2812 |
| |
| 2813 | + | |
| 2814 | + | |
2813 | 2815 |
| |
2814 | 2816 |
| |
2815 | 2817 |
| |
| 2818 | + | |
2816 | 2819 |
| |
2817 | 2820 |
| |
2818 | 2821 |
| |
|
0 commit comments
Comments
(0)