mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-25 20:13:23 +03:00
Fixed #4249 by add retain count for extension string
This commit is contained in:
parent
774b217e8f
commit
db9f7974ed
@ -98,7 +98,9 @@ clearDropTarget
|
||||
- (void)
|
||||
setFileExt:(NSString*) ext
|
||||
{
|
||||
m_dragFileExt = [NSString stringWithString:ext];
|
||||
[ext retain];
|
||||
[m_dragFileExt release];
|
||||
m_dragFileExt = ext;
|
||||
NSLog(@"drag file ext: %@", m_dragFileExt);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user