Skip to content

Commit

Permalink
fixup! messaging: fix coverity issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielius1922 committed Jul 8, 2023
1 parent 1b2f80b commit a5bfa62
Show file tree
Hide file tree
Showing 5 changed files with 142 additions and 78 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sonar-cloud-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
matrix:
include:
# cloud (ipv4+tcp) on, collection create on, push on, rfotm on
- build_args: "-DOC_CLOUD_ENABLED=ON -DOC_COLLECTIONS_IF_CREATE_ENABLED=ON -DOC_PUSH_ENABLED=ON -DOC_RESOURCE_ACCESS_IN_RFOTM_ENABLED=ON"
- build_args: "-DOC_CLOUD_ENABLED=ON -DOC_COLLECTIONS_IF_CREATE_ENABLED=ON -DOC_PUSH_ENABLED=ON -DOC_DISCOVERY_RESOURCE_OBSERVABLE_ENABLED=ON -DOC_RESOURCE_ACCESS_IN_RFOTM_ENABLED=ON"
# ipv6 dns on, oscore off, rep realloc on
- build_args: "-DOC_DNS_LOOKUP_IPV6_ENABLED=ON -DOC_OSCORE_ENABLED=OFF -DOC_REP_ENCODING_REALLOC=ON"
# ipv4 on, tcp on, dynamic allocation off, rfotm on
Expand Down
2 changes: 1 addition & 1 deletion api/oc_ri.c
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ oc_observe_notification_resource_defaults_delayed(void *data)
oc_resource_defaults_data_t *resource_defaults_data =
(oc_resource_defaults_data_t *)data;
notify_resource_defaults_observer(resource_defaults_data->resource,
resource_defaults_data->iface_mask, NULL);
resource_defaults_data->iface_mask);
oc_ri_dealloc_resource_defaults(resource_defaults_data);
return OC_EVENT_DONE;
}
Expand Down
Loading

0 comments on commit a5bfa62

Please sign in to comment.