Heartbeat context is not freed automatically by the library
[silc.git] / lib / silcutil / silcsockconn.h
index a78f393970907cfdc63f7dc1a3a4f3454da50aa0..6507e269f913833ee3a8ba88d7a68662f017ad0c 100644 (file)
@@ -373,8 +373,8 @@ typedef void (*SilcSocketConnectionHBCb)(SilcSocketConnection sock,
  *    allocated by the application and will be sent as argument to the
  *    `hb_callback' function that is called when the `heartbeat' timeout
  *    expires.  The callback `hb_context' won't be touched by the library
- *    but will be freed automatically when calling silc_socket_free.  The
- *    `schedule' is the application's scheduler.
+ *    but and must be freed by the application.  The `schedule' is the
+ *    application's scheduler.
  *
  ***/
 void silc_socket_set_heartbeat(SilcSocketConnection sock,