libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
|
Functions for cleaning up objects. More...
Functions | |
void | fetch_promise_free (fetch_promise_t *promise) |
Free a promise object. | |
Functions for cleaning up objects.
void fetch_promise_free | ( | fetch_promise_t * | promise | ) |
Free a promise object.
promise | Promise to free (can be NULL) |
Always call this when done with a promise to prevent memory leaks.