Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions subsys/net/lib/nrf_provisioning/src/nrf_provisioning_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ int nrf_provisioning_codec_teardown(void)

#ifdef CONFIG_NRF_PROVISIONING_USE_MALLOC
free(i_fmt_data);
i_fmt_data = NULL;
#elif defined(CONFIG_NRF_PROVISIONING_USE_KMALLOC)
k_free(i_fmt_data);
i_fmt_data = NULL;
#endif

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ int nrf_provisioning_http_req(struct nrf_provisioning_http_context *const rest_c
#endif

char *auth_hdr = NULL;
struct rest_client_req_context req;
struct rest_client_req_context req = {0};
struct rest_client_resp_context resp;
int ret;
struct cdc_context cdc_ctx;
Expand Down
Loading