Skip to content

Commit

Permalink
Fixed missing var declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
matejak committed Oct 4, 2018
1 parent a65e242 commit e70933c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SCE/sce_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ static void _pipe_try_read_into_string(int fd, struct oscap_string *string, bool


static void free_env_values(char **env_values, size_t index_of_first_env_value_not_compiled_in, size_t real_env_values_count) {
for (i = index_of_first_env_value_not_compiled_in; i < real_env_values_count; i++) {
for (size_t i = index_of_first_env_value_not_compiled_in; i < real_env_values_count; i++) {
free(env_values[i]);
}
free(env_values);
Expand Down

0 comments on commit e70933c

Please sign in to comment.