--- hatari/src/gui-osx/CreateFloppyController.m 2019/04/09 08:48:37 1.1.1.2 +++ hatari/src/gui-osx/CreateFloppyController.m 2019/04/09 08:52:54 1.1.1.4 @@ -1,8 +1,8 @@ /* Hatari - CreateFloppyController.m - This file is distributed under the GNU Public License, version 2 or at - your option any later version. Read the file gpl.txt for details. + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. Create floppy image window controller implementation file @@ -87,7 +87,9 @@ - (IBAction)runModal:(id)sender { - [[ModalWrapper alloc] runModal:window]; + ModalWrapper *mw=[[ModalWrapper alloc] init]; + [mw runModal:window]; + [mw release]; }