mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ugrid.c: destroy_cells(): avoid double-free
https://github.com/neovim/neovim/issues/7572#issuecomment-345257295
This commit is contained in:
parent
1be315de37
commit
fed928b438
@ -135,6 +135,7 @@ static void destroy_cells(UGrid *grid)
|
||||
xfree(grid->cells[i]);
|
||||
}
|
||||
xfree(grid->cells);
|
||||
grid->cells = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user