urtho commented on this pull request.
+ sizeof(struct async_ms_list));
+ if(_async_ms_list == NULL) {
+ LM_ERR("no more shm\n");
+ return -1;
+ }
+ memset(_async_ms_list, 0, sizeof(struct async_ms_list));
+ if(lock_init(&_async_ms_list->lock) == 0) {
+ LM_ERR("cannot init lock \n");
+ shm_free(_async_ms_list);
+ _async_ms_list = 0;
+ return -1;
+ }
+ return 0;
+}
+
+int async_destroy_ms_timer_list(void)
Good catch. Fixing now.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2016#discussion_r307996331