Fix initialization sequence to prevent freeing of unitialized objects. Submitted by: Nils Larsch <nla@trustcenter.de> PR: 459