delete constraint

Hey.

I’ve a problem. When i delete an object with a constraint, the constraint dont remove. So when a new object been added it goes to that constraint.
Are there a way python script that delete the constraint?

Is the constrant the logic brick one? If so then what is it attached to?

its a rigid body constraint.