style(*): set deleted object pointers to nullptr

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x
2025-01-09 00:00:00 +00:00
parent 1edec941c7
commit 9e27aed644
3 changed files with 3 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ FilterRealesrgan::FilterRealesrgan(
FilterRealesrgan::~FilterRealesrgan() {
delete realesrgan_;
realesrgan_ = nullptr;
}
int FilterRealesrgan::init(AVCodecContext* dec_ctx, AVCodecContext* enc_ctx, AVBufferRef*) {