Welcome to the Community,
These two systems do not use the same heat sink.
Heatsink Dell part number for this two system model is given below:
Dell Vostro 1015: CD0RJ
Dell Vostro 1088: GYF42
Image of Heatsink for Dell Vostro 1015:
Image of Heatsink for Vostro 1088: