diff --git a/sbin/devd/devd.hh b/sbin/devd/devd.hh index c797b6acd76c..af4ce192dec0 100644 --- a/sbin/devd/devd.hh +++ b/sbin/devd/devd.hh @@ -147,7 +147,7 @@ class config { public: config() { push_var_table(); } - ~config() { reset(); } + virtual ~config() { reset(); } void add_attach(int, event_proc *); void add_detach(int, event_proc *); void add_directory(const char *);