Fixes issue #33 related to a memory issue, and format some code. #35
Loading…
Reference in a new issue
No description provided.
Delete branch "lda/telodendria:fix-33"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #33.
Please review the developer certificate of origin:
the right to submit it under the open source licenses of the
Telodendria project; or
my knowledge, is covered under an appropriate open source license and
I have the right under that license to submit that work with
modifications, whether created in whole or in part by me, under the
Telodendria project license; or
who certified (1), (2), or (3), and I have not modified it.
made public and that a record of the contribution—including all
personal information I submit with it—is maintained indefinitely
and may be redistributed consistent with this project or the open
source licenses involved.
origin, and I certify that I have permission to submit this patch
under the conditions specified in it.
@ -197,3 +197,3 @@
char *tmp;
HttpRouteFunc *exec = NULL;
Array *matches;
Array *matches = NULL;
Good catch. At first this doesn't seem necessary, but actually it is because of the
finish
label, which can be reached beforematches
is assigned andFree()
s it.@ -175,1 +175,3 @@
Free(username);
/* Username is handled by the router, freeing it *will* cause issues
* (see #33). I honestly don't know how it didn't come to bite us sooner.
Yeah, same. Incredible.
WIP: Fixes issue #33 related to a memory issue, and format some code.to Fixes issue #33 related to a memory issue, and format some code.In the future, don't forget to add a change log entry for this kind of stuff!