diff --git a/src/tools/ceph-dencoder/denc_plugin.h b/src/tools/ceph-dencoder/denc_plugin.h index e43ad26e174f6..c5eacce47cb43 100644 --- a/src/tools/ceph-dencoder/denc_plugin.h +++ b/src/tools/ceph-dencoder/denc_plugin.h @@ -23,6 +23,7 @@ class DencoderPlugin { other.dencoders.clear(); } ~DencoderPlugin() { + unregister_dencoders(); #if !defined(__FreeBSD__) if (mod) { dlclose(mod);