From f71a53e82debbe6d79a1daf6639e317b8dc1fece Mon Sep 17 00:00:00 2001
From: Dong Anyuan <donganyuan@cn.fujitsu.com>
Date: Thu, 20 Jun 2019 11:07:03 +0900
Subject: [PATCH] Fix Coverity Scan CID 261649 (Variable rx_buffer going out of
 scope leaks the storage it points to.)

---
 openair1/PHY/LTE_TRANSPORT/if5_tools.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openair1/PHY/LTE_TRANSPORT/if5_tools.c b/openair1/PHY/LTE_TRANSPORT/if5_tools.c
index 77f060a4336..721d44aab44 100644
--- a/openair1/PHY/LTE_TRANSPORT/if5_tools.c
+++ b/openair1/PHY/LTE_TRANSPORT/if5_tools.c
@@ -606,7 +606,7 @@ void recv_IF5(RU_t *ru, openair0_timestamp *proc_timestamp, int subframe, uint16
 	  }
 	}
 #endif
-
+      free(rx_buffer);
 
      
     }
-- 
GitLab