Commit e0a7e7d3 authored by Kishen Maloor's avatar Kishen Maloor

Merge branch 'origin/hollywood' into ipanema

Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
parents fbe0e470 e714e40e
Pipeline #1091 passed with stage
in 4 minutes and 57 seconds
......@@ -94,9 +94,7 @@ coap_remove_observer_handle_by_uri(oc_endpoint_t *endpoint, const char *uri,
(oc_string_len(obs->url) == (size_t)uri_len &&
memcmp(oc_string(obs->url), uri, uri_len) == 0) &&
obs->iface_mask == iface_mask) {
obs->resource->num_observers--;
oc_list_remove(observers_list, obs);
oc_memb_free(&observers_memb, obs);
coap_remove_observer(obs);
removed++;
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment