v7.3.2
·
2 commits
to master
since this release
August 31 2026
Fixed
PUBNUB_LOG_TRACEinpubnub_free_with_timeoutdereferencedpbpafterpubnub_freehad already released the context and its logger manager. Replaced with a pre-loop trace that logs while the context is still valid.PUBNUB_LOG_TRACEin the success branch ofpubnub_heartbeat_free_thumpersdereferencedheartbeat_pbafterpubnub_free_with_timeouthad released the context. Moved the trace log before the free call.- The
PBS_NULLearly-return path inpubnub_freecalledfree(pb)on a pointer into the staticm_aCtxarray which is undefined behavior. Removed the call since the static context is already reusable inPBS_NULLstate.
Modified
pbcc_deinitfrees the logger manager so platform-specific trace logs inpbpal_free(such as the OpenSSL unexpected-socket warnings) were dead code. Swapping the call order lets those diagnostics emit while the logger is still alive.