unittest: coverity fix 84/185284/2
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Fri, 27 Jul 2018 08:13:07 +0000 (17:13 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Fri, 27 Jul 2018 08:14:34 +0000 (17:14 +0900)
Change-Id: I71ea9b6eddd1d39c72e5e3fbd9e391196607c2ff
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
unittest/gtest_hal_usb_client.cpp

index 3859030..597823c 100755 (executable)
@@ -38,6 +38,7 @@ class USBCLIENTHalTest : public testing::Test
                                }
                                cout << "supported " << supported << endl;
                                need_modelcheck = false;
+                               free(model_name);
                        }
                }