Demo (echo server): Fix access after free.
Demo (splicer): Fix access after free.