forked from lda/telodendria
Merge branch 'master' of https://git.telodendria.io/Telodendria/Telodendria
This commit is contained in:
commit
b72f18538d
2 changed files with 1 additions and 3 deletions
|
@ -152,7 +152,7 @@ ParseIPv6(char **str, char **out)
|
|||
goto fail;
|
||||
}
|
||||
|
||||
while ((c = Iterate(str)) && IsIPv6Char(c))
|
||||
while ((c = Iterate(str)) && IsIPv6Char(c) && digits < 8)
|
||||
{
|
||||
char *ipv4;
|
||||
if (isxdigit(c))
|
||||
|
|
|
@ -185,8 +185,6 @@ ROUTE_IMPL(RouteUserProfile, path, argp)
|
|||
finish:
|
||||
ConfigUnlock(&config);
|
||||
|
||||
/* Username is handled by the router, freeing it would cause issues. */
|
||||
Free(entry);
|
||||
UserIdFree(userId);
|
||||
UserUnlock(user);
|
||||
JsonFree(request);
|
||||
|
|
Loading…
Reference in a new issue