mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 06:49:16 +02:00
* fixed memory leak
git-svn-id: trunk@30165 -
This commit is contained in:
parent
fc21845686
commit
b97e7da6b4
@ -237,7 +237,7 @@ implementation
|
||||
mstr:=CFStringCreateMutableCopy(nil,0,str);
|
||||
{ lowercase }
|
||||
locale:=CFLocaleCopyCurrent;
|
||||
CFStringLowercase(mstr,CFLocaleCopyCurrent);
|
||||
CFStringLowercase(mstr,locale);
|
||||
CFRelease(locale);
|
||||
{ extract the data again }
|
||||
range.location:=0;
|
||||
|
Loading…
Reference in New Issue
Block a user