diff --git a/MJExtension.podspec b/MJExtension.podspec index 6ee7b10a..e382bc88 100644 --- a/MJExtension.podspec +++ b/MJExtension.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "MJExtension" - s.version = "3.0.16" + s.version = "3.0.17" s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.8' s.summary = "A fast and convenient conversion between JSON and model" diff --git a/MJExtension/MJFoundation.m b/MJExtension/MJFoundation.m index f8388a91..b145076b 100644 --- a/MJExtension/MJFoundation.m +++ b/MJExtension/MJFoundation.m @@ -61,6 +61,7 @@ + (BOOL)isFromNSObjectProtocolProperty:(NSString *)propertyName } } objectProtocolPropertyNames = [propertyNames copy]; + free(propertyList); }); return [objectProtocolPropertyNames containsObject:propertyName];