Skip to content

Commit

Permalink
fix(zq): memory issue when moving/inserting tiles/combos
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyV99 committed Apr 10, 2024
1 parent dae41c8 commit 3c72e37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/zq/moveinfo.h
Expand Up @@ -38,6 +38,7 @@ struct BaseTileRef
this->w = zc_max(1,w);
this->h = zc_max(1,h);
}
virtual ~BaseTileRef() = default;
};
struct TileRefPtr : public BaseTileRef
{
Expand Down Expand Up @@ -187,6 +188,7 @@ struct BaseComboRef
BaseComboRef(string name = "")
: name(name), no_move(false)
{}
virtual ~BaseComboRef() = default;
};
struct ComboRefPtr : public BaseComboRef
{
Expand Down

0 comments on commit 3c72e37

Please sign in to comment.