branch | RCL_3 |
changeset 8 | 3f74d0d4af4c |
parent 4 | 3b1da2848fc7 |
child 30 | 5dc02b23752f |
--- a/src/gui/kernel/qsound_mac.mm Mon Mar 15 12:43:09 2010 +0200 +++ b/src/gui/kernel/qsound_mac.mm Thu Apr 08 14:19:33 2010 +0300 @@ -174,6 +174,7 @@ NSSound * const nsSound = [[NSSound alloc] initWithContentsOfFile: nsFileName byReference:YES]; QMacSoundDelegate * const delegate = [[QMacSoundDelegate alloc] initWithQSound:qSound:this]; [nsSound setDelegate:delegate]; + [nsFileName release]; return nsSound; }