mirror of
https://github.com/nasa/trick.git
synced 2025-01-26 14:19:23 +00:00
014d78e388
When allocating a new event, if the same name is used, no allocation is created and NULL is returned. We start trying to use the returned value which seg-faulted. I added a check to only continue if the returned value from the allocation is not NULL. refs #149