Skip to content

Commit

Permalink
Update chafa.c
Browse files Browse the repository at this point in the history
  • Loading branch information
oshaboy committed Nov 4, 2023
1 parent 65b9706 commit 5b76a9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/chafa/chafa.c
Original file line number Diff line number Diff line change
Expand Up @@ -2709,6 +2709,8 @@ build_canvas (ChafaPixelType pixel_type, const guint8 *pixels,
image = chafa_image_new ();
chafa_image_set_frame (image, frame);
chafa_canvas_set_image (canvas, image, placement_id);
chafa_image_unref (image);
chafa_frame_unref (frame);
return canvas;

}
Expand Down

0 comments on commit 5b76a9b

Please sign in to comment.