git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7667
91ce42f0-d328-0410-95d8-
f526ca767f89
/*
* End of plugin data, notify plugin, then clear flags
*/
- plugin = (Plugin *)jcr->plugin;
- plug_func(plugin)->endRestoreFile((bpContext *)jcr->plugin_ctx);
+ if (jcr->plugin) {
+ plugin = (Plugin *)jcr->plugin;
+ plug_func(plugin)->endRestoreFile((bpContext *)jcr->plugin_ctx);
+ }
jcr->plugin_ctx = NULL;
jcr->plugin = NULL;
goto bail_out;
remove reader/writer in FOPTS????
General:
+30Sep08
+kes Another attempt to fix the endRestoreFile plugin bug noted below.
29Sep08
kes Apply dbi driver patch from Joao.
kes Correct a bug in passing the context to the endRestoreFile() plugin command.