Rename mbedtls_net_close() to mbedtls_net_free()
close() may be more meaningful, but free() is symmetric with _init(), and more
consistent with all other modules
diff --git a/include/mbedtls/net.h b/include/mbedtls/net.h
index d2cb8d4..85c4977 100644
--- a/include/mbedtls/net.h
+++ b/include/mbedtls/net.h
@@ -216,11 +216,11 @@
uint32_t timeout );
/**
- * \brief Gracefully shutdown the connection
+ * \brief Gracefully shutdown the connection and free associated data
*
- * \param ctx The socket to close
+ * \param ctx The context to free
*/
-void mbedtls_net_close( mbedtls_net_context *ctx );
+void mbedtls_net_free( mbedtls_net_context *ctx );
#ifdef __cplusplus
}