mirror of https://github.com/v2ray/v2ray-core
				
				
				
			extend buffer
							parent
							
								
									931c8597ca
								
							
						
					
					
						commit
						34c12c1af6
					
				| 
						 | 
				
			
			@ -208,6 +208,7 @@ func NewBytes(size uint32) []byte {
 | 
			
		|||
 | 
			
		||||
func FreeBytes(b []byte) {
 | 
			
		||||
	size := cap(b)
 | 
			
		||||
	b = b[0:cap(b)]
 | 
			
		||||
	switch {
 | 
			
		||||
	case size >= 128*1024:
 | 
			
		||||
		pool128k.Put(b)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue