Added missing initialization from MM monitor.
This commit is contained in:
@ -126,6 +126,7 @@ startMonitor(void *arg,void* opt)
|
|||||||
handle->shutdown = 0;
|
handle->shutdown = 0;
|
||||||
handle->id = MONITOR_DEFAULT_ID;
|
handle->id = MONITOR_DEFAULT_ID;
|
||||||
handle->master = NULL;
|
handle->master = NULL;
|
||||||
|
handle->script = NULL;
|
||||||
memset(handle->events,false,sizeof(handle->events));
|
memset(handle->events,false,sizeof(handle->events));
|
||||||
spinlock_init(&handle->lock);
|
spinlock_init(&handle->lock);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user