A simple JNI wrapper for the socketcan API provided by the Linux kernel. As it is wrapping a Linux Kernel API, it is intended for use on Linux only.
49
stars
21
forks
source link
getFilters JNI implementation does not free temporary memory #13
Closed
pschichtel closed 5 years ago
There is an allocation in JNI that is not being freed at all:
https://github.com/pschichtel/JavaCAN/blob/56d7d645313a34e93ef7bfe071447c9d30829369/src/main/c/javacan_socketcan.c#L131
it should have been freed after the memcpy() a few lines later.