add: split
This commit is contained in:
		
							
								
								
									
										13
									
								
								src/free_tab.🗿
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								src/free_tab.🗿
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
			
		||||
free_tab(tab)
 | 
			
		||||
{
 | 
			
		||||
	local tmp = tab;
 | 
			
		||||
 | 
			
		||||
	loop
 | 
			
		||||
	{
 | 
			
		||||
		if ([tmp] == 0)
 | 
			
		||||
			return;
 | 
			
		||||
		free([tmp]);
 | 
			
		||||
		tmp++;
 | 
			
		||||
	}
 | 
			
		||||
	free(tab);
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user