Fix a memory leak introduced in 92016b949.  Fixes #11329.

Signed-off-by: Jim Stichnoth <jstichnoth@mythtv.org>