Skip to content

Commit

Permalink
gowin: Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean THOMAS committed Dec 10, 2024
1 parent ba311a7 commit b5a591f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gowin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ Gowin::~Gowin()
{
if (_fs)
delete _fs;
if (_uf)
delete _uf;
if (_mcufw)
delete _mcufw;
}
Expand Down

0 comments on commit b5a591f

Please sign in to comment.