forked from Telodendria/Telodendria
Compare commits
No commits in common. "b72f18538d9c882f37e28b0a8547f9a897d51236" and "f815f653b0f6fca8a577af4c1bdcd215825cb01b" have entirely different histories.
b72f18538d
...
f815f653b0
2 changed files with 3 additions and 1 deletions
|
@ -152,7 +152,7 @@ ParseIPv6(char **str, char **out)
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
while ((c = Iterate(str)) && IsIPv6Char(c) && digits < 8)
|
while ((c = Iterate(str)) && IsIPv6Char(c))
|
||||||
{
|
{
|
||||||
char *ipv4;
|
char *ipv4;
|
||||||
if (isxdigit(c))
|
if (isxdigit(c))
|
||||||
|
|
|
@ -185,6 +185,8 @@ ROUTE_IMPL(RouteUserProfile, path, argp)
|
||||||
finish:
|
finish:
|
||||||
ConfigUnlock(&config);
|
ConfigUnlock(&config);
|
||||||
|
|
||||||
|
/* Username is handled by the router, freeing it would cause issues. */
|
||||||
|
Free(entry);
|
||||||
UserIdFree(userId);
|
UserIdFree(userId);
|
||||||
UserUnlock(user);
|
UserUnlock(user);
|
||||||
JsonFree(request);
|
JsonFree(request);
|
||||||
|
|
Loading…
Reference in a new issue