1. Tighten hinge screws. If they are loose, replace the middle screws with longer ones.
2. Put some thin slice of plastic or cardboard between bottom hinge leaf and the frame as a shim. Then check if the door closes alright.
3. If your hinge pins are removable, try to slightly bend one or all of them to create more friction within the hinge.
- Close the door and shim it to prevent falling.
- Take out the hinge pin using hammer and nail or chisel and bent it in the middle a little (e. g. place the pin on a hard surface and hit it with a hammer).
- Drive the hinge pin back and test, if needed bent the pin just a little more.