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

Do proper cleanup.

parent f23401b0
......@@ -236,6 +236,8 @@ int main(void)
/* always cleanup */
curl_easy_cleanup(curl);
}
free(chunk.memory);
cJSON_Delete(record);
curl_global_cleanup();
return 0;
}
Markdown is supported
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