aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc
diff options
context:
space:
mode:
Diffstat (limited to 'samsung-ipc')
-rw-r--r--samsung-ipc/ipc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c
index 68e9ec9..b6b6b1b 100644
--- a/samsung-ipc/ipc.c
+++ b/samsung-ipc/ipc.c
@@ -157,6 +157,8 @@ struct ipc_client* ipc_client_new(int client_type)
return NULL;
client = (struct ipc_client*) malloc(sizeof(struct ipc_client));
+ memset(client, 0, sizeof(struct ipc_client));
+
client->type = client_type;
switch (client_type)