mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[host] app: zero memory allocated for lgmp userdata
This commit is contained in:
parent
912ca62a7b
commit
b3f6c75ade
@ -552,6 +552,7 @@ static void * allocUserData(KVMFRUserData * dst, size_t need, bool consume)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
memset(dst->data + dst->size, 0, newSize - dst->size);
|
||||
dst->size = newSize;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user