Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
access: fix small memory leak
  • Loading branch information
perexg committed Apr 8, 2016
1 parent 64ecd9c commit 9793072
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/access.c
Expand Up @@ -1012,6 +1012,7 @@ access_entry_destroy(access_entry_t *ae, int delconf)
free(ae->ae_comment);
free(ae->ae_lang);
free(ae->ae_lang_ui);
free(ae->ae_theme);
free(ae);
}

Expand Down
2 changes: 1 addition & 1 deletion src/http.c
Expand Up @@ -1433,7 +1433,7 @@ http_serve_requests(http_connection_t *hc)

free(hc->hc_post_data);
hc->hc_post_data = NULL;

http_arg_flush(&hc->hc_args);
http_arg_flush(&hc->hc_req_args);

Expand Down

0 comments on commit 9793072

Please sign in to comment.