Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

"Resource acquired to 'n->error_writer->fd' at line 231 may be lost

here." (Klocwork.com Issue #138)

git-svn-id: svn://cherokee-project.com/cherokee/trunk@6728 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
commit 088e4eb53490b1b15e971c302d326c957628be13 1 parent 740797c
@alobbs alobbs authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 cherokee/server.c
View
6 cherokee/server.c
@@ -342,6 +342,12 @@ cherokee_server_free (cherokee_server_t *srv)
cherokee_buffer_mrproper (&srv->themes_dir);
cherokee_buffer_mrproper (&srv->panic_action);
+ /* Error writter
+ */
+ if (srv->error_writer != NULL) {
+ cherokee_logger_writer_free (srv->error_writer);
+ }
+
/* Module loader: It must be the last action to be performed
* because it will close all the opened modules.
*/
Please sign in to comment.
Something went wrong with that request. Please try again.