Commit 4a403fce authored by Pim Schellart's avatar Pim Schellart
Browse files

Do proper cleanup.

parent f23401b0
...@@ -236,6 +236,8 @@ int main(void) ...@@ -236,6 +236,8 @@ int main(void)
/* always cleanup */ /* always cleanup */
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
} }
free(chunk.memory);
cJSON_Delete(record);
curl_global_cleanup(); curl_global_cleanup();
return 0; return 0;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment