diff --git a/src/Routes/RouteUserProfile.c b/src/Routes/RouteUserProfile.c index 4c438b0..a4fc870 100644 --- a/src/Routes/RouteUserProfile.c +++ b/src/Routes/RouteUserProfile.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);