Skip to content

Commit

Permalink
Memory management level: idiot
Browse files Browse the repository at this point in the history
Thanks to Aybars Badur for the report.
  • Loading branch information
jonashaag committed May 30, 2012
1 parent 449e381 commit ccd23ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bjoern/server.c
Expand Up @@ -182,8 +182,8 @@ ev_io_on_read(struct ev_loop* mainloop, ev_io* watcher, const int events)
else
DBG_REQ(request, "Hit errno %d while read()ing", errno);
close(request->client_fd);
Request_free(request);
ev_io_stop(mainloop, &request->ev_watcher);
Request_free(request);
}
goto out;
}
Expand Down

0 comments on commit ccd23ee

Please sign in to comment.