Looking at the following file to understand the functionality of the
library, I have a question around the allocation and freeing of iocb's:

activemq-artemis/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c


Function
Java_org_apache_activemq_artemis_jlibaio_LibaioContext_deleteContext() does
not free iocb on failed call to submit(), and as far as I can tell,
submit() also does not free the structure on failure.

Did I miss something?

Art

Reply via email to