Fix a very long standing bug in run_interrupt_driven_config_hooks().  It was fetching the next pointer from memory that could have been free()'d.
Fix a very long standing bug in run_interrupt_driven_config_hooks().  It
was fetching the next pointer from memory that could have been free()'d.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase