Fixed memory leaks

Introduced Sorting
This commit is contained in:
michael starke
2013-05-11 23:56:49 +02:00
parent e33545a1de
commit ca4b8ee946
7 changed files with 71 additions and 5 deletions

View File

@@ -57,7 +57,7 @@
[[NSBundle mainBundle] loadNibNamed:@"PasswordCreatorWindow"owner:self topLevelObjects:nil];
}
if(!self.passwordCreatorController) {
self.passwordCreatorController = [[MPPasswordCreatorViewController alloc] init];
self.passwordCreatorController = [[[MPPasswordCreatorViewController alloc] init] autorelease];
}
[self.passwordCreatorWindow setContentView:[self.passwordCreatorController view]];
[self.passwordCreatorWindow makeKeyAndOrderFront:self.passwordCreatorWindow];