Neville had somehow managed to melt Seamus's cauldron into a twisted blob, and their potion was seeping across the stone floor, burning holes in people's shoes.
(Harry Potter and the Sorcerer's Stone)
There is a tricky word, holes, after burning. If holes is the object of burning, it’s semantically somewhat strange. If not, holes seems to be the result of burning. How can I understand the sentence?