From fffd955fbaf7bc14811acf00ed4d7df716029cd2 Mon Sep 17 00:00:00 2001 From: Joanna Kubiak Date: Sat, 27 Feb 2016 17:14:33 +0100 Subject: [PATCH] Issue #511 - added free to reslove memory leaking warnings --- RxCocoa/Common/_RXDelegateProxy.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RxCocoa/Common/_RXDelegateProxy.m b/RxCocoa/Common/_RXDelegateProxy.m index 03595af6..581fbabb 100644 --- a/RxCocoa/Common/_RXDelegateProxy.m +++ b/RxCocoa/Common/_RXDelegateProxy.m @@ -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; }