add free in dev model sample

This commit is contained in:
ethan.du 2020-07-06 17:41:44 +08:00
parent e1e92a7045
commit 78523be269
1 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,8 @@ int main(int argc, char **argv)
HAL_SleepMs(2000);
}
HAL_Free(property_payload);
HAL_Free(event_payload);
//等待属性设置及命令下发
IOT_DM_Yield(h_dm, 60000);