diff --git a/libheif/plugins/encoder_x265.cc b/libheif/plugins/encoder_x265.cc index cbc80fac98..20a737141b 100644 --- a/libheif/plugins/encoder_x265.cc +++ b/libheif/plugins/encoder_x265.cc @@ -299,6 +299,7 @@ static void x265_init_plugin() static void x265_cleanup_plugin() { + x265_cleanup(); }