Skip to content

Commit

Permalink
win: fix memory leak in dllist
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Dec 11, 2020
1 parent ec17c69 commit a6f0e69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ JL_DLLEXPORT int jl_dllist(jl_array_t *list)
continue;
jl_array_grow_end((jl_array_t*)list, 1);
jl_value_t *v = jl_cstr_to_string(path);
free(path);
jl_array_ptr_set(list, jl_array_dim0(list) - 1, v);
}
free(hMods);
Expand Down

0 comments on commit a6f0e69

Please sign in to comment.