Revision 31855 branches/gvSIG_19_ext3D_osgVP_2_2_0/libraries/libjni-potrace/src/main/native/jpotrace/potrace.c

View differences:

potrace.c
44 44
	}
45 45

  
46 46
	values = vectorizarBuffer((long *) cbufferIn, width, height, length, list);
47
	// we release the used memory here
48
	(*env)->ReleaseIntArrayElements(env, bufferIn, cbufferIn, 0);
47 49
	size = (jsize) values[0];
48 50
	jvalues = (*env)->NewDoubleArray(env, size);
49 51
	(*env)->SetDoubleArrayRegion(env, jvalues, 0, size, values);

Also available in: Unified diff