2
0
Brucey 3 жил өмнө
parent
commit
b6149cd866

+ 4 - 2
mbedtls.mod/mbedtls.bmx

@@ -188,13 +188,15 @@ Type TNetContext
 	Method Free()
 		If contextPtr Then
 			bmx_mbedtls_net_free(contextPtr)
-			bmx_mbedtls_net_delete(contextPtr)
-			contextPtr = Null
 		End If
 	End Method
 	
 	Method Delete()
 		Free()
+		If contextPtr Then
+			bmx_mbedtls_net_delete(contextPtr)
+			contextPtr = Null
+		End If
 	End Method
 	
 End Type