Add rest tests.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
NADAL Jean-Baptiste
2020-01-13 16:09:57 +01:00
parent 9ffd1a4e55
commit da29aa6516
12 changed files with 206 additions and 89 deletions

View File

@@ -201,6 +201,8 @@ void restd_server_free(restd_server_t *server)
{
if (hook->method)
free(hook->method);
if (hook->path)
free(hook->path);
free(hook);
}
server->hooks->free(server->hooks);