I use JNI to call a native C routine from a Servlet.
My routine is shaped like this :
JNIblahblah (JNIEnv *env, jobject obj)
buffer_out = (char *)calloc(255,1);
My question is : as this routine will be called very often (concurrent acces), is it MANDATORY to free 'buffer_out'
before leaving the routine ? (please explain)
Thanks for any info