X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/d6c5534acee4d543ee2c08b279b416ea69de42d8..9cebb1f7452afe422cb940e970c9f30b5180a239:/StatusWindow.m diff --git a/StatusWindow.m b/StatusWindow.m index ffbc1e6..c116c09 100755 --- a/StatusWindow.m +++ b/StatusWindow.m @@ -405,8 +405,8 @@ } // Make the buttons, set the titles, and size them to fit their titles - okButton = [[ITButton alloc] initWithFrame:NSMakeRect(0, 0, 300, 24)]; - cancelButton = [[ITButton alloc] initWithFrame:NSMakeRect(0, 0, 300, 24)]; + okButton = [[[ITButton alloc] initWithFrame:NSMakeRect(0, 0, 300, 24)] autorelease]; + cancelButton = [[[ITButton alloc] initWithFrame:NSMakeRect(0, 0, 300, 24)] autorelease]; [okButton setTarget:target]; [cancelButton setTarget:target]; [okButton setAction:okAction];