Merge pull request #514 from Shelin69/master

Issue #511 - free array
This commit is contained in:
Krunoslav Zaher 2016-02-27 17:52:49 +01:00
commit c24df15131
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ static NSMutableDictionary *forwardableSelectorsPerClass = nil;
for (unsigned int i = 0; i < numberOfBaseProtocols; ++i) {
[selectors unionSet:[self collectSelectorsForProtocol:pSubprotocols[i]]];
}
free(pSubprotocols);
return selectors;
}