Avoid memory leak on unexpected family ID

Fixes bug #41034 (closed); bug not in any released tor.

Merge request reports

Loading