Remove a condition from the deallocation

This commit is contained in:
Sergey Abramchuk
2017-09-06 23:05:15 +03:00
parent f22702d2f6
commit 18a41d88d1
-2
View File
@@ -71,10 +71,8 @@
} }
- (void)dealloc { - (void)dealloc {
if (self.crt) {
mbedtls_x509_crt_free(self.crt); mbedtls_x509_crt_free(self.crt);
free(self.crt); free(self.crt);
} }
}
@end @end