Fix for PR #1146: the "next" pointer must be cached before calling soabort since the struct containing it may be freed.
Fix for PR #1146: the "next" pointer must be cached before calling soabort
since the struct containing it may be freed.

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