jclass.c
static void freeClassInfo(ClassModule * classModule) {
	int i;

	for (i = 0; i < classModule->classCount; i++) {
		if (classModule->classes[i].classSig != NULL) {
			free(classModule->classes[i].classSig);
		}
		if (classModule->classes[i].fieldName != NULL) {
			free(classModule->classes[i].fieldName);
		}
		if (classModule->classes[i].fieldSig != NULL) {
			free(classModule->classes[i].fieldSig);
		}
	}

	free(classModule->classes);
}
/**
 * invoked when close class module, free the memory used by classinfo.
 */
invoked when close class module, free the memory used by classinfo.
invoked when close class module free the memory used by classinfo .
static void freeClassInfo(ClassModule * classModule) {
	int i;
	for (i = 0; i < classModule->classCount; i++) {
		if (classModule->classes[i].classSig != NULL) {
			free(classModule->classes[i].classSig);
		}
		if (classModule->classes[i].fieldName != NULL) {
			free(classModule->classes[i].fieldName);
		}
		if (classModule->classes[i].fieldSig != NULL) {
			free(classModule->classes[i].fieldSig);
		}
	}
	free(classModule->classes);
}
static void freeClassInfo ( ClassModule * classModule ) { int i ; for ( i = 0 ; i < classModule -> classCount ; i ++ ) { if ( classModule -> classes [ i ] . classSig != NULL ) { free ( classModule -> classes [ i ] . classSig ) ; } if ( classModule -> classes [ i ] . fieldName != NULL ) { free ( classModule -> classes [ i ] . fieldName ) ; } if ( classModule -> classes [ i ] . fieldSig != NULL ) { free ( classModule -> classes [ i ] . fieldSig ) ; } } free ( classModule -> classes ) ; }
invoked when close class module, free the memory used by classinfo.
invoked when close class module free the memory used by classinfo .