mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 04:18:19 +02:00
lazutils: fixed dangling pointer
git-svn-id: trunk@50646 -
This commit is contained in:
parent
51db04d913
commit
82b946cccb
@ -355,7 +355,7 @@ Const
|
||||
(HIGH_PRIORITY_CLASS,IDLE_PRIORITY_CLASS,
|
||||
NORMAL_PRIORITY_CLASS,REALTIME_PRIORITY_CLASS);
|
||||
|
||||
function WStrAsUniquePWideChar(s: UnicodeString): PWideChar; inline;
|
||||
function WStrAsUniquePWideChar(var s: UnicodeString): PWideChar; inline;
|
||||
begin
|
||||
UniqueString(s);
|
||||
if s<>'' then
|
||||
|
Loading…
Reference in New Issue
Block a user