fixes #42, again (#66)

This commit is contained in:
Jason Waldrip 2019-06-26 02:38:30 -06:00 committed by Bartol Karuza
parent 13059fab0f
commit b1ceb75340
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ RCT_EXPORT_MODULE()
MIMEType:(__bridge NSString *)(mimeType)
expectedContentLength:length
textEncodingName:nil];
CFRelease(mimeType);
if (mimeType) CFRelease(mimeType);
[delegate URLRequest:cancellationBlock didReceiveResponse:response];