FS-5453 --resolve
FS-4871 --resolve
FS-5389 --resolve
FS-5389
FS-4871: reduce logging a bit
FS-5042 changed event body creation
FS-5466 --resolve
FS-5470 --resolve
Fixing a memory leak. name needs to be freed since it's being strdup'd lower.
Appears to have been a copy paste error because this doesn't do what the api claims, and it also leaks the reference to the new node.
Fix improper handling of a double linked list that could have caused a memory leak.
Another location where mod_rtmp would leak memory.
More explicit and defensive code so if the init fails we know we handling this pointer safely, because  rc_config_init will free the pointer if there was a problem, but it will not set the pointer to NULL.
Removing unused code
If there is a problem reading the dictionary file, don't leak memory...
Removing logically dead code
Let's bit a bit safer when dereferencing pointers.
Small off by one error. If the array is of size 144, then an index of 144 inclusive is an error.
This condition should NEVER be hit, but in case the started thread is unable to locate itself in the EVENT_DISOATCH_QUEUE_THREADS array, it's best to return null here and kill the unexpected event thread rather than segfault FS by writing outside of the bounds of the EVENT_DISPATCH_QUEUE_RUNNING array.
Cleaning up logically dead code.