fix websocket memory leak

This commit is contained in:
ading2210 2024-02-04 23:10:14 -05:00
parent 5f71e27422
commit 582bbd4ecd
5 changed files with 7 additions and 5 deletions

View file

@ -32,5 +32,6 @@ char* get_version() {
cJSON_AddItemToObject(version_json, "protocols", protocols_array);
char* version_json_str = cJSON_Print(version_json);
cJSON_Delete(version_json);
return version_json_str;
}