fix memeory leak when adding separators, no bug

This commit is contained in:
joshmoz%gmail.com 2005-02-25 06:13:59 +00:00
parent cd9154c2e8
commit b81c09b121

View File

@ -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