Skip to content

Commit 4dc6922

Browse files
committed
NOISSUE minor fix
1 parent c5a7e55 commit 4dc6922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/wifi_tls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void wifi_tls_free_context(wifi_tls_context_t *ctx)
154154
free(ctx->peer_public_key_pem);
155155
free(ctx->server_root_ca_public_key_pem);
156156
free(ctx->server_host_name);
157-
memset(ctx, 0, sizeof(wifi_tls_free_context));
157+
memset(ctx, 0, sizeof(wifi_tls_context_t));
158158

159159
free(ctx);
160160
}

0 commit comments

Comments
 (0)