Issue #511 - added free to reslove memory leaking warnings

This commit is contained in:
Joanna Kubiak 2016-02-27 17:14:33 +01:00
parent 698a50b381
commit fffd955fba
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;
}