relay: Fix memory leak on BUG() code path

Introduced in bf10206e which is not
released yet thus no changes file.

Found by Coverity with cid #1495786.

Fixes #40532

Signed-off-by: David Goulet <dgoulet@torproject.org>
10 jobs for ticket40532_047_01 in 38 minutes (queued for 4 minutes and 46 seconds)
latest