diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-03-13 04:30:22 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-03-13 04:30:22 +0000 |
commit | eb030f647c066da594c612db4ba482612842361e (patch) | |
tree | be8671633087ba276cac332fce017744b724eed0 /AppKit | |
parent | 993a40ed9233e2b250978bcef385154818db3adb (diff) |
[Author: dmaclach]
Fixes up the leaks in the tests.
Sets up the RunMacOSUnitTest script so that it actually works correctly
with respect to enabling leaks.
DELTA=20 (4 added, 3 deleted, 13 changed)
R=thomasvl
Diffstat (limited to 'AppKit')
-rw-r--r-- | AppKit/GTMGetURLHandlerTest.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/AppKit/GTMGetURLHandlerTest.m b/AppKit/GTMGetURLHandlerTest.m index 30aa82f..ba0be7d 100644 --- a/AppKit/GTMGetURLHandlerTest.m +++ b/AppKit/GTMGetURLHandlerTest.m @@ -46,8 +46,7 @@ static BOOL sURLHandlerWasHit; NSAppleEventDescriptor *keyDesc = [NSAppleEventDescriptor descriptorWithString:url]; [event setParamDescriptor:keyDesc forKeyword:keyDirectObject]; - AppleEvent replyEvent = { typeNull, NULL }; - OSStatus err = AESendMessage([event aeDesc], &replyEvent, kAEWaitReply, 60); + OSStatus err = AESendMessage([event aeDesc], NULL, kAEWaitReply, 60); return err == noErr ? YES : NO; } |