mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-21 06:03:12 +00:00
Clear monitor state structure
This commit is contained in:
parent
eec8fb6e95
commit
dd78c11db0
@ -112,6 +112,7 @@ int monitor_client_open(struct monitor_state **res)
|
||||
}
|
||||
|
||||
*res = (struct monitor_state*)malloc(sizeof(struct monitor_state));
|
||||
memset(res,sizeof(struct monitor_state),0);
|
||||
return fd;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user