Code

object: Ensure that a type's destroy callback is called if init fails.
authorSebastian Harl <sh@tokkee.org>
Sun, 1 Dec 2013 15:55:13 +0000 (16:55 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 1 Dec 2013 15:55:13 +0000 (16:55 +0100)
commit9b4a5ef2a407895415153f78b69a954ed414715b
treed8ef5acf26e192449f860d442b67d93977e0753a
parentbe8fe81410d8f9b14debc388248d233b95b26a2d
object: Ensure that a type's destroy callback is called if init fails.

Else, failed init may leak memory.
src/core/object.c