Use \listoflistings … (\lstlistoflistings locks wired in my setting)