]> git.wincent.com - WOTest.git/blobdiff - WOProtocolStub.m
Code clean-up for garbage collection
[WOTest.git] / WOProtocolStub.m
index f01cf20cb4f6e27c0856caba775e805db82c0dc5..59a388d65e6472fca87392c4e803a4a3fff0ed76 100644 (file)
@@ -42,7 +42,7 @@
 + (id)stubForProtocol:(Protocol *)aProtocol withDelegate:(id)aDelegate
 {
     NSParameterAssert(aProtocol != NULL);
-    return [[[self alloc] initWithProtocol:aProtocol delegate:aDelegate] autorelease];
+    return [[self alloc] initWithProtocol:aProtocol delegate:aDelegate];
 }
 
 /*! Designated initializer. */