From 894ea0ad8ce06f17d39f25f0270966268dd6fd53 Mon Sep 17 00:00:00 2001 From: Alexey Gulev Date: Wed, 25 Sep 2019 13:09:03 +0200 Subject: [PATCH] Update iac_android.cpp fixed issue with memory free --- extension-iac/src/iac_android.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extension-iac/src/iac_android.cpp b/extension-iac/src/iac_android.cpp index c5240a3..f902168 100644 --- a/extension-iac/src/iac_android.cpp +++ b/extension-iac/src/iac_android.cpp @@ -324,12 +324,12 @@ dmExtension::Result UpdateIAC(dmExtension::Params* params) } if (cmd.m_Payload != 0x0) { - free(cmd.m_Payload); + free((void*)cmd.m_Payload); cmd.m_Payload = 0x0; } if (cmd.m_Origin != 0x0) { - free(cmd.m_Origin); + free((void*)cmd.m_Origin); cmd.m_Origin = 0x0; } }