This commit is contained in:
Adrien Marquès 2018-12-11 13:34:28 +01:00
parent 555fcd17f2
commit 3186928912
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@
protected:
resizeMessage(){
msg.data = realloc(msg.data, (msg.size+1) * sizeof(uint8_t));
// memset(msg.data, 0, msg.size+1);
memset(msg.data, 0, msg.size+1);
}
};