remove leaks

This commit is contained in:
Bechir Braham
2024-02-22 15:30:48 +01:00
parent 315bf6eb5d
commit 2bc6e16887
5 changed files with 17 additions and 2 deletions

View File

@ -21,4 +21,7 @@ class Frame {
public:
Frame(std::byte* fp, ssize_t rows, ssize_t cols);
DataType get(int row, int col);
~Frame(){
delete[] data;
}
};