res_pjsip_session: Fix multiple leaks.