pschichtel/JavaCAN

getFilters JNI implementation does not free temporary memory

pschichtel opened this issue · 0 comments

There is an allocation in JNI that is not being freed at all:

void* filters = malloc(size);

it should have been freed after the memcpy() a few lines later.