Skip to content

Commit

Permalink
ChafaCanvas: Fix a small memory leak
Browse files Browse the repository at this point in the history
Fixes #190 (GitHub).
  • Loading branch information
hpjansson committed Feb 4, 2024
1 parent 43b3060 commit b0b45b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chafa/chafa-canvas.c
Expand Up @@ -1920,6 +1920,7 @@ chafa_canvas_print_rows_strv (ChafaCanvas *canvas, ChafaTermInfo *term_info)
}

strv [gsa_len] = NULL;
g_free (gsa);
return strv;
}

Expand Down

0 comments on commit b0b45b3

Please sign in to comment.