client: initializing pointer 13/171113/2
authorBoram Park <boram1288.park@samsung.com>
Mon, 26 Feb 2018 23:29:23 +0000 (08:29 +0900)
committerBoram Park <boram1288.park@samsung.com>
Mon, 26 Feb 2018 23:50:59 +0000 (08:50 +0900)
Change-Id: I36f67b911a8335766fa9d3b0385ec4e6aef0e720

client/tdm_client.c

index 460cda4d79476867df7bc99eacd163c0bd665ed9..4c38190f0a454d799c01f001bc22b07b5eab66db 100644 (file)
@@ -749,7 +749,7 @@ tdm_client_output_add_change_handler(tdm_client_output *output,
 {
        tdm_private_client_output *private_output;
        tdm_private_client *private_client;
-       tdm_client_output_handler_info *h;
+       tdm_client_output_handler_info *h = NULL;
 
        TDM_RETURN_VAL_IF_FAIL(output != NULL, TDM_ERROR_INVALID_PARAMETER);
        TDM_RETURN_VAL_IF_FAIL(func != NULL, TDM_ERROR_INVALID_PARAMETER);