mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 13:26:16 +01:00
0d62eb467f
If a constructor() implementation created an object but then unreffed it rather than returning it, that object would get left on the construction_objects list, which would cause problems later when that memory location got reused by another object. "Fix" this by making it fail intentionally, and add a test for it (and for the normal, working singleton case). https://bugzilla.gnome.org/show_bug.cgi?id=661576
18 lines
157 B
Plaintext
18 lines
157 B
Plaintext
binding
|
|
boxed
|
|
closure
|
|
dynamictests
|
|
enums
|
|
ifaceproperties
|
|
object
|
|
param
|
|
properties
|
|
qdata
|
|
reference
|
|
signals
|
|
threadtests
|
|
type
|
|
valuearray
|
|
private
|
|
marshalers.[ch]
|