mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-07 18:12:55 +03:00
coap_threadsafe.c: Fix CID 1566426
This commit is contained in:
1 parent
224aa74a03
commit
bfbfd69ff5
1 file changed
+2
@@ -416,6 +416,8 @@ coap_persist_startup(coap_context_t *context,
|
||||
|
||||
void
|
||||
coap_persist_stop(coap_context_t *context) {
|
||||
if (!context)
|
||||
return;
|
||||
coap_lock_lock(context, return);
|
||||
coap_persist_stop_locked(context);
|
||||
coap_lock_unlock(context);
|
||||
|
||||
Reference in new issue
Block a user