mirror of
				https://github.com/open5gs/open5gs.git
				synced 2025-11-03 21:43:25 +00:00 
			
		
		
		
	free replybuf after sent replay message
This commit is contained in:
		@@ -119,6 +119,8 @@ static void _gtpv1_tun_recv_common_cb(
 | 
			
		||||
        if (replybuf) {
 | 
			
		||||
            if (ogs_tun_write(fd, replybuf) != OGS_OK)
 | 
			
		||||
                ogs_warn("ogs_tun_write() for reply failed");
 | 
			
		||||
            
 | 
			
		||||
            ogs_pkbuf_free(replybuf);
 | 
			
		||||
            goto cleanup;
 | 
			
		||||
        }
 | 
			
		||||
        if (eth_type != ETHERTYPE_IP && eth_type != ETHERTYPE_IPV6) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user