diff --git a/include/notcurses/notcurses.h b/include/notcurses/notcurses.h index faa271b5b..f77f6abd0 100644 --- a/include/notcurses/notcurses.h +++ b/include/notcurses/notcurses.h @@ -1276,9 +1276,7 @@ ncplane_at_cursor_cell(struct ncplane* n, cell* c){ return -1; } int r = cell_load(n, c, egc); - if(r < 0){ - free(egc); - } + free(egc); return r; }