Skip to content

Commit

Permalink
Fix unsafe NULLing of client attach pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
catwood committed Nov 3, 2012
1 parent a5ab6f8 commit cabb4be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/users.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,6 @@ void delsubuser(subuser **current, acetables *g_ape)
del->wait_for_free = 1;
do_died(del, g_ape);
} else {
g_ape->co[del->client->fd]->attach = NULL;
free(del);
}

Expand Down

0 comments on commit cabb4be

Please sign in to comment.