mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-02-11 00:00:08 +08:00
Remove a condition from the deallocation
This commit is contained in:
@@ -71,10 +71,8 @@
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
if (self.crt) {
|
||||
mbedtls_x509_crt_free(self.crt);
|
||||
free(self.crt);
|
||||
}
|
||||
mbedtls_x509_crt_free(self.crt);
|
||||
free(self.crt);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user