<commit_before>package recastnavigation.recast {
	
	import recastnavigation.core.rn_internal;
	import recastnavigation.core.utils.mallocInt32Vector;
	import recastnavigation.core.utils.mallocNumberVector;
	import recastnavigation.internal_api.internal_rcRasterizeTriangles;
	
	use namespace rn_internal;
	
	/**
	 * Rasterizes an indexed triangle mesh into the specified heightfield.
	 */
	public function rcRasterizeTriangles(ctx:RCContext, verts:Vector.<Number>, tris:Vector.<int>, areas:Vector.<int>, 
										 nt:int, solid:RCHeightfield, flagMergeThr:int):void {
		
		var verts_ptr:int = mallocNumberVector(verts);
		var tris_ptr:int = mallocInt32Vector(tris);
		var areas_ptr:int = mallocInt32Vector(areas);
		
		internal_rcRasterizeTriangles(ctx.ptr, verts_ptr, tris_ptr, areas_ptr, nt, solid.ptr, flagMergeThr); 
		
	}
	
}<commit_msg>Added missing CModule free calls in rcRasterizeTriangles.<commit_after>package recastnavigation.recast {
	
	import recastnavigation.core.rn_internal;
	import recastnavigation.core.utils.mallocInt32Vector;
	import recastnavigation.core.utils.mallocNumberVector;
	import recastnavigation.internal_api.internal_rcRasterizeTriangles;
	
	use namespace rn_internal;
	
	/**
	 * Rasterizes an indexed triangle mesh into the specified heightfield.
	 */
	public function rcRasterizeTriangles(ctx:RCContext, verts:Vector.<Number>, tris:Vector.<int>, areas:Vector.<int>, 
										 nt:int, solid:RCHeightfield, flagMergeThr:int):void {
		
		var verts_ptr:int = mallocNumberVector(verts);
		var tris_ptr:int = mallocInt32Vector(tris);
		var areas_ptr:int = mallocInt32Vector(areas);
		
		internal_rcRasterizeTriangles(ctx.ptr, verts_ptr, tris_ptr, areas_ptr, nt, solid.ptr, flagMergeThr); 
		
		CModule.free(verts_ptr);
		CModule.free(tris_ptr);
		CModule.free(areas_ptr);
		
	}
	
}
{'fraction_non_alphanumeric': 0.09652509652509653, 'fraction_numerical': 0.006618863761720904, 'mean_word_length': 5.644688644688645, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4262155', 'n_tokens_mistral': 666, 'n_tokens_neox': 578, 'n_words': 103}