Skip to content

Commit

Permalink
Missing fclose was not missing after all...
Browse files Browse the repository at this point in the history
  • Loading branch information
babelouest committed Sep 6, 2021
1 parent 35b4747 commit 02a5379
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ static int callback_static_file_uncompressed (const struct _u_request * request,
fseek (f, 0, SEEK_END);
length = ftell (f);
fseek (f, 0, SEEK_SET);
fclose(f);

content_type = u_map_get_case(&((struct _u_compressed_inmemory_website_config *)user_data)->mime_types, get_filename_ext(file_requested));
if (content_type == NULL) {
Expand Down

0 comments on commit 02a5379

Please sign in to comment.