Skip to content

Commit

Permalink
Fix missing free
Browse files Browse the repository at this point in the history
  • Loading branch information
eandersson committed Oct 3, 2024
1 parent 2536347 commit 8679b99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/http_server/http_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ static esp_err_t GET_system_info(httpd_req_t * req)
free(stratumURL);
free(fallbackStratumURL);
free(stratumUser);
free(fallbackStratumUser);
free(board_version);

const char * sys_info = cJSON_Print(root);
Expand Down

0 comments on commit 8679b99

Please sign in to comment.