From 91f9ffd1000226a07751969a4176d5019db530dd Mon Sep 17 00:00:00 2001 From: Hyuk Lee Date: Thu, 26 Apr 2018 09:57:38 +0900 Subject: [PATCH] Fix the svace issue Change-Id: I4147cd5044b26ba42a7d49d44b5c5855b01237d8 Signed-off-by: Hyuk Lee --- bt-ipsp/bt-ipsp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bt-ipsp/bt-ipsp.c b/bt-ipsp/bt-ipsp.c index 4017f2f..c6ce561 100644 --- a/bt-ipsp/bt-ipsp.c +++ b/bt-ipsp/bt-ipsp.c @@ -192,6 +192,7 @@ static void __bt_ipsp_get_network_interface_name(char **if_name) if (strlen(*if_name) == 0) { BT_ERR("if_name is zero length\n"); free(*if_name); + *if_name = NULL; return; } -- 2.7.4