Skip to content

Commit

Permalink
Fix memory leak problem injected by 7b6bf81
Browse files Browse the repository at this point in the history
  • Loading branch information
saitoha committed Sep 27, 2016
1 parent a664ed8 commit e92d9a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/termout.c
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,8 @@ do_dcs(void)
return;
}

sixel_parser_deinit(st);

left = term.curs.x;
top = term.virtuallines + (term.sixel_display ? 0: term.curs.y);
width = st->image.width / st->grid_width;
Expand Down

0 comments on commit e92d9a5

Please sign in to comment.