Bugfix in scan_plugin_path
FIxed memory leak in smarti_driver_shutdown