Parcourir la source

Add missing free function in testMethodListForClass: method in unit test

Tigran Yesayan il y a 9 ans
Parent
commit
a1c464d1a7
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      FLEXTestsMethodsList/FLEXTestsMethodsList.m

+ 2 - 0
FLEXTestsMethodsList/FLEXTestsMethodsList.m

@@ -85,6 +85,8 @@
         
         XCTAssert([newWay isEqual:prevWay]);
     }
+    
+    free(methods);
 }
 
 - (void)testPerformanceExample {