File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ hashtext(PG_FUNCTION_ARGS)
303
303
buf = palloc (bsize );
304
304
ucol_getSortKey (mylocale -> info .icu .ucol ,
305
305
uchar , ulen , buf , bsize );
306
+ pfree (uchar );
306
307
307
308
result = hash_any (buf , bsize );
308
309
@@ -360,6 +361,7 @@ hashtextextended(PG_FUNCTION_ARGS)
360
361
buf = palloc (bsize );
361
362
ucol_getSortKey (mylocale -> info .icu .ucol ,
362
363
uchar , ulen , buf , bsize );
364
+ pfree (uchar );
363
365
364
366
result = hash_any_extended (buf , bsize , PG_GETARG_INT64 (1 ));
365
367
Original file line number Diff line number Diff line change @@ -1021,6 +1021,7 @@ hashbpchar(PG_FUNCTION_ARGS)
1021
1021
buf = palloc (bsize );
1022
1022
ucol_getSortKey (mylocale -> info .icu .ucol ,
1023
1023
uchar , ulen , buf , bsize );
1024
+ pfree (uchar );
1024
1025
1025
1026
result = hash_any (buf , bsize );
1026
1027
@@ -1082,6 +1083,7 @@ hashbpcharextended(PG_FUNCTION_ARGS)
1082
1083
buf = palloc (bsize );
1083
1084
ucol_getSortKey (mylocale -> info .icu .ucol ,
1084
1085
uchar , ulen , buf , bsize );
1086
+ pfree (uchar );
1085
1087
1086
1088
result = hash_any_extended (buf , bsize , PG_GETARG_INT64 (1 ));
1087
1089
You can’t perform that action at this time.
0 commit comments