Say I do something like this

```
for(int i = 0; i < 10; i++)
{
    //create a pointer object using new
    //use the object
}

```

Do I need to delete the pointer object after using it in the loop?
I was thinking like, if I didn't delete it, it will keep creating a new object for 10 times and the object just hang in there after that, eating resources.