The content of the swap file is not reused after restart (of the corresponding OS) - so if it’s the only “infected” file found, you don’t have to worry.