Merge pull request #34 from ucloud/bugfix_add_mem_free_in_dm_sample_ex
add mem free in dm sample ex
This commit is contained in:
commit
507e97f176
|
@ -170,6 +170,7 @@ int command_cb(const char *request_id, const char *identifier, const char *input
|
|||
return FAILURE_RET;
|
||||
}
|
||||
node_cmd_input_set_temp_correction_temp_correction.value.int32_value = atoi(temp_modify);
|
||||
HAL_Free(temp_modify);
|
||||
|
||||
if((node_cmd_input_set_temp_correction_temp_correction.value.int32_value <= 10)
|
||||
&& (node_cmd_input_set_temp_correction_temp_correction.value.int32_value >= -10))
|
||||
|
|
Loading…
Reference in New Issue