|  | @@ -373,7 +373,7 @@ static Status ProcessGenericRPC(const PayloadConfig &payload_config,
 | 
	
		
			
				|  |  |                                  const ByteBuffer *request,
 | 
	
		
			
				|  |  |                                  ByteBuffer *response) {
 | 
	
		
			
				|  |  |    int resp_size = payload_config.bytebuf_params().resp_size();
 | 
	
		
			
				|  |  | -  std::unique_ptr<char> buf(new char[resp_size]);
 | 
	
		
			
				|  |  | +  std::unique_ptr<char[]> buf(new char[resp_size]);
 | 
	
		
			
				|  |  |    gpr_slice s = gpr_slice_from_copied_buffer(buf.get(), resp_size);
 | 
	
		
			
				|  |  |    Slice slice(s, Slice::STEAL_REF);
 | 
	
		
			
				|  |  |    *response = ByteBuffer(&slice, 1);
 |