Skip to content

Commit

Permalink
fix #5225
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Dec 23, 2013
1 parent d135a07 commit 6abc0ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ static void gc_mark(void)
if (!gc_marked(v)) {
jl_value_t *fin = finalizer_table.table[i+1];
if (gc_typeof(fin) == (jl_value_t*)jl_voidpointer_type) {
void *p = jl_unbox_voidpointer(fin);
void *p = ((void**)fin)[1];
if (p)
((void (*)(void*))p)(jl_data_ptr(v));
finalizer_table.table[i+1] = HT_NOTFOUND;
Expand Down

0 comments on commit 6abc0ae

Please sign in to comment.