Commit a4d909bc authored by Robert Schmidt's avatar Robert Schmidt

Initialize variables to prevent illegal free()

parent 1a07a1e0
...@@ -90,7 +90,8 @@ Protocol__FlexranMessage* flexran_agent_handle_message (mid_t mod_id, ...@@ -90,7 +90,8 @@ Protocol__FlexranMessage* flexran_agent_handle_message (mid_t mod_id,
uint8_t *data, uint8_t *data,
uint32_t size){ uint32_t size){
Protocol__FlexranMessage *decoded_message, *reply_message; Protocol__FlexranMessage *decoded_message = NULL;
Protocol__FlexranMessage *reply_message = NULL;
err_code_t err_code; err_code_t err_code;
DevAssert(data != NULL); DevAssert(data != NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment