Skip to content

Commit

Permalink
Merge pull request #683 from bryghtlabs-richard/fix/ws-mutex-delete
Browse files Browse the repository at this point in the history
fix(websocket): use proper interface to delete semaphore
  • Loading branch information
david-cermak authored Oct 31, 2024
2 parents a353702 + 991ac40 commit 72f4f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/esp_websocket_client/esp_websocket_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ static void destroy_and_free_resources(esp_websocket_client_handle_t client)
if (client->transport_list) {
esp_transport_list_destroy(client->transport_list);
}
vQueueDelete(client->lock);
vSemaphoreDelete(client->lock);
free(client->tx_buffer);
free(client->rx_buffer);
free(client->errormsg_buffer);
Expand Down

0 comments on commit 72f4f7c

Please sign in to comment.