]> git.wincent.com - WOTest.git/blobdiff - Tests/WOStubTests.m
Code clean-up for garbage collection
[WOTest.git] / Tests / WOStubTests.m
index 076ab513429b7a66443bc52e28bb1731a598115b..ec70ed24f1709e38ba8dbb4ab08372e9dff88083 100644 (file)
@@ -25,7 +25,7 @@
 
 - (void)testMatchesInvocation
 {
-    WOStub *stub = [[[WOStub alloc] init] autorelease];
+    WOStub *stub = [[WOStub alloc] init];
 
     // raises if sent nil
     WO_TEST_THROWS([stub matchesInvocation:nil]);