mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-15 04:39:42 +03:00
coap_threadsafe.c: Fix NPE in coap_delete_resource()
This commit is contained in:
1 parent
c162187a6a
commit
e7105286f6
3 files changed
+18
-6
No files matched your search
@@ -337,7 +337,7 @@ int coap_lock_lock_func(coap_lock_t *lock);
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define coap_lock_check_locked(s)
|
||||
#define coap_lock_check_locked(s) {}
|
||||
|
||||
# endif /* ! COAP_THREAD_RECURSIVE_CHECK */
|
||||
|
||||
@@ -352,7 +352,7 @@ typedef coap_mutex_t coap_lock_t;
|
||||
#define coap_lock_unlock(s)
|
||||
#define coap_lock_init(s)
|
||||
#define coap_lock_being_freed(s,failed)
|
||||
#define coap_lock_check_locked(s)
|
||||
#define coap_lock_check_locked(s) {}
|
||||
#define coap_lock_callback(s,func) func
|
||||
#define coap_lock_callback_ret(r,s,func) ret = func
|
||||
#define coap_lock_invert(s,func,f) func
|
||||
|
||||
Reference in new issue
Block a user