Compare commits

..

No commits in common. "b72f18538d9c882f37e28b0a8547f9a897d51236" and "f815f653b0f6fca8a577af4c1bdcd215825cb01b" have entirely different histories.

2 changed files with 3 additions and 1 deletions

View file

@ -152,7 +152,7 @@ ParseIPv6(char **str, char **out)
goto fail;
}
while ((c = Iterate(str)) && IsIPv6Char(c) && digits < 8)
while ((c = Iterate(str)) && IsIPv6Char(c))
{
char *ipv4;
if (isxdigit(c))

View file

@ -185,6 +185,8 @@ 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);