mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
fix memeory leak when adding separators, no bug
This commit is contained in:
parent
cd9154c2e8
commit
b81c09b121
@ -373,6 +373,7 @@ static const int kDisabledQuicksearchPopupItemTag = 9999;
|
||||
}
|
||||
[parentFolder insertChild:aBookmark atIndex:index isMove:NO];
|
||||
[self selectItem:aBookmark expandingContainers:YES scrollIntoView:YES byExtendingSelection:NO];
|
||||
[aBookmark release];
|
||||
}
|
||||
|
||||
-(void)addItem:(id)aSender isFolder:(BOOL)aIsFolder URL:(NSString*)aURL title:(NSString*)aTitle
|
||||
|
Loading…
Reference in New Issue
Block a user