ITSendAEWithString returns the direct object AEDesc, or returns 0 if there is none.
[ITFoundation.git] / ITOSAScript.m
index 675b3ac..6f1a27f 100755 (executable)
@@ -120,7 +120,7 @@ Script Subtypes:
     
     OSADispose([_component componentInstance], resultID);
     
-    return cocoaDesc;
+    return [cocoaDesc autorelease];
 }
 
 @end