s4-net: Fix 'talloc_free with references ...' error