diff -r b369f3f92eb8 -r 7d748d9cf9e8 lib/voe_handler.c --- a/lib/voe_handler.c Mon Oct 18 10:30:57 2010 +0200 +++ b/lib/voe_handler.c Mon Oct 18 10:45:07 2010 +0200 @@ -47,6 +47,14 @@ /*****************************************************************************/ +void ec_voe_handler_clear(ec_voe_handler_t *voe) +{ + if (voe->data) + free(voe->data); +} + +/*****************************************************************************/ + void ecrt_voe_handler_send_header(ec_voe_handler_t *voe, uint32_t vendor_id, uint16_t vendor_type) {