fix braino: null the pointer who's memory we just free'd, not some other pointers that are (potentially) used later
fix braino: null the pointer who's memory we just free'd, not some other
pointers that are (potentially) used later

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