mariadb_free_rpl_event()
Frees the memory allocated for a MARIADB_RPL_EVENT structure returned by mariadb_rpl_fetch().
Syntax
#include <mariadb_rpl.h>
void mariadb_free_rpl_event(MARIADB_RPL_EVENT *event);Parameters
Parameter
Description
event
A pointer previously returned by mariadb_rpl_fetch(). Passing NULL is safe and has no effect.
Return Value
None
Notes
Avoid calling this function on an event pointer that will be passed back to mariadb_rpl_fetch() for reuse. Only call it when you are done processing the event and will not reuse the pointer.
History
Added in MariaDB Connector/C 3.1.0.
See Also
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

