Permalink
Browse files

"Possible memory leak. Dynamic memory stored in 'n' allocated through

function 'malloc' at line 65 can be lost at line 82" (Klocwork Issue
61)

git-svn-id: svn://cherokee-project.com/cherokee/trunk@6686 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent 2e1e693 commit 075491eaa41f8e5c179af81e53bc8cdc545e1649 @alobbs alobbs committed May 22, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 cherokee/logger_ncsa.c
View
@@ -79,6 +79,7 @@ cherokee_logger_ncsa_new (cherokee_logger_t **logger,
ret = cherokee_logger_ncsa_init_base (n, VSERVER(vsrv), config);
if (unlikely(ret < ret_ok)) {
+ cherokee_logger_free (LOGGER(n));
return ret;
}

0 comments on commit 075491e

Please sign in to comment.