diff --git a/mythplugins/mythzoneminder/mythzoneminder/main.cpp b/mythplugins/mythzoneminder/mythzoneminder/main.cpp index 206bfd9d261..a43747093a8 100644 --- a/mythplugins/mythzoneminder/mythzoneminder/main.cpp +++ b/mythplugins/mythzoneminder/mythzoneminder/main.cpp @@ -166,5 +166,8 @@ int mythplugin_config(void) return 0; } - +void mythplugin_destroy(void) +{ + delete ZMClient::get(); +}