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 @@ -1030,6 +1030,7 @@ hashbpchar(PG_FUNCTION_ARGS)
1030
1030
buf = palloc (bsize );
1031
1031
ucol_getSortKey (mylocale -> info .icu .ucol ,
1032
1032
uchar , ulen , buf , bsize );
1033
+ pfree (uchar );
1033
1034
1034
1035
result = hash_any (buf , bsize );
1035
1036
@@ -1091,6 +1092,7 @@ hashbpcharextended(PG_FUNCTION_ARGS)
1091
1092
buf = palloc (bsize );
1092
1093
ucol_getSortKey (mylocale -> info .icu .ucol ,
1093
1094
uchar , ulen , buf , bsize );
1095
+ pfree (uchar );
1094
1096
1095
1097
result = hash_any_extended (buf , bsize , PG_GETARG_INT64 (1 ));
1096
1098
You can’t perform that action at this time.
0 commit comments