mmifw-ipc-test : following change of mmi_instance_destroy, change it's parameter... 64/264164/1
authorulgal-park <ulgal.park@samsung.com>
Mon, 13 Sep 2021 14:22:49 +0000 (23:22 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 14 Sep 2021 03:53:23 +0000 (12:53 +0900)
Change-Id: I3d847feb742f2d814de21dc21674ba2579c6927a

tests/mmifw-ipc-test.cpp

index ad62f15c597aadd76abd8083092b4b6fe14b4581..350e1efaa4d10df8e895f62d6c2fe1bcbc81cf16 100644 (file)
@@ -151,7 +151,8 @@ TEST_F(MMIFWIpcTest, MMIFWIpcGetVariableAfterInit)
 
        if(h)
        {
-               mmi_instance_destroy(h);
+               mmi_instance_destroy(&h);
+               EXPECT_EQ(h, nullptr);
 
                if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE)
                {