Fast memory allocation #36

Merged
jordan merged 8 commits from lda/Cytoplasm:mem-moment into master 2024-08-23 20:26:14 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 0d122976d4 - Show all commits

View file

@ -621,7 +621,7 @@ HttpParseHeaders(Stream * fp)
strncpy(headerValue, headerPtr, len); strncpy(headerValue, headerPtr, len);
HashMapSet(headers, headerKey, headerValue); Free(HashMapSet(headers, headerKey, headerValue));
Free(headerKey); Free(headerKey);
} }

View file

@ -81,7 +81,7 @@ TlsInitClient(int fd, const char *serverName)
cookie->method = TLS_client_method(); cookie->method = TLS_client_method();
cookie->ctx = SSL_CTX_new(cookie->method); cookie->ctx = SSL_CTX_new(cookie->method);
coolie->fd = fd; cookie->fd = fd;
if (!cookie->ctx) if (!cookie->ctx)
{ {
goto error; goto error;