Skip to content
Snippets Groups Projects
Commit 08753bc0 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Clear empty evsched structure.

parent f93ec391
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,7 @@ evsched_t *evsched_new()
if (!s) {
return 0;
}
memset(s, 0, sizeof(evsched_t));
/* Initialize event calendar. */
pthread_mutex_init(&s->rl, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment