Don't leak the event after sending it.
authorPeter Hosey <hg@boredzo.org>
Tue Oct 20 22:35:28 2009 -0700 (2009-10-20)
changeset 4538987d555071f6
parent 4537 a80751ca939c
child 4539 383d84e26955
Don't leak the event after sending it.
Framework/Source/GrowlApplicationBridge.m
     1.1 --- a/Framework/Source/GrowlApplicationBridge.m	Sat Oct 17 22:38:05 2009 -0700
     1.2 +++ b/Framework/Source/GrowlApplicationBridge.m	Tue Oct 20 22:35:28 2009 -0700
     1.3 @@ -833,6 +833,8 @@
     1.4  						if (err != noErr) {
     1.5  							NSLog(@"%@: Could not send open-document event to register this application with Growl because AESend returned %li/%s", [self class], (long)err, GetMacOSStatusCommentString(err));
     1.6  						}
     1.7 +
     1.8 +						AEDisposeDesc(&event);
     1.9  					}
    1.10  					
    1.11  					success = (err == noErr);