mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
In [lookupStringForEvent🪟keysym:] autorelease the string,
so it gets freed late on. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15073 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
01908fd53a
commit
51d7708230
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@
|
|||
if (count)
|
||||
{
|
||||
[dbuf setLength: count];
|
||||
keys = [[NSString alloc] initWithData: dbuf encoding: encoding];
|
||||
keys = AUTORELEASE([[NSString alloc] initWithData: dbuf encoding: encoding]);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue