forked from Telodendria/Telodendria
[FIX] Fix double-free issue in user profile
This commit is contained in:
parent
f815f653b0
commit
e9d25d5c73
1 changed files with 0 additions and 2 deletions
|
@ -185,8 +185,6 @@ 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