From c650d3f81c1ae1b5c509e1d4f72152286fc6d8a3 Mon Sep 17 00:00:00 2001 From: Francesco Date: Thu, 19 Mar 2026 02:10:26 +0100 Subject: [PATCH] docs(tgbot): add a note on tgbot_free --- include/tgbot.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/tgbot.h b/include/tgbot.h index baad2d5..8b26a23 100644 --- a/include/tgbot.h +++ b/include/tgbot.h @@ -15,6 +15,8 @@ tgbot_s *tgbot_new(const char *token); /** * @brief Cleans the memory. + * Note: If you're using curl it will call curl_global_cleanup(). + * Maybe I'll change the API. * * @param[out] bot The Bot object. */