Skip to content

Commit

Permalink
[runtime] Fix memory leak in mono_save_seq_point_info().
Browse files Browse the repository at this point in the history
  • Loading branch information
vkargov committed Feb 24, 2017
1 parent c403419 commit 7dc414e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mono/mini/seq-points.c
Expand Up @@ -223,6 +223,8 @@ mono_save_seq_point_info (MonoCompile *cfg)
}
}

g_free (seq_points);

if (has_debug_data)
g_free (next);

Expand Down

0 comments on commit 7dc414e

Please sign in to comment.