You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by vi...@apache.org on 2017/02/23 22:56:49 UTC
incubator-mynewt-core git commit: Fix accidental free caused by a
merge earlier
Repository: incubator-mynewt-core
Updated Branches:
refs/heads/sensors_branch 0f4d2e806 -> 9cc6a785e
Fix accidental free caused by a merge earlier
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/9cc6a785
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/9cc6a785
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/9cc6a785
Branch: refs/heads/sensors_branch
Commit: 9cc6a785e1abb627ea2b18b746c18f011d7bf684
Parents: 0f4d2e8
Author: Vipul Rahane <vi...@apache.org>
Authored: Thu Feb 23 14:55:41 2017 -0800
Committer: Vipul Rahane <vi...@apache.org>
Committed: Thu Feb 23 14:55:41 2017 -0800
----------------------------------------------------------------------
net/oic/src/messaging/coap/observe.c | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9cc6a785/net/oic/src/messaging/coap/observe.c
----------------------------------------------------------------------
diff --git a/net/oic/src/messaging/coap/observe.c b/net/oic/src/messaging/coap/observe.c
index 499cdb5..234b2da 100644
--- a/net/oic/src/messaging/coap/observe.c
+++ b/net/oic/src/messaging/coap/observe.c
@@ -304,9 +304,6 @@ coap_notify_observers(oc_resource_t *resource,
if (m) {
os_mbuf_free_chain(m);
}
- if (m) {
- os_mbuf_free_chain(m);
- }
return num_observers;
}
/*---------------------------------------------------------------------------*/