GNOME Bugzilla – Bug 772417
Memory leaks caused by generic fields
Last modified: 2017-01-29 21:28:42 UTC
Created attachment 336910 [details] [review]
Fix generic field initialization to avoid memory leaks
Discussed this briefly with upstream on IRC, and it was concluded that this should probably have been forbidden by the Vala compiler in the first place.
Sorry - I haven't look into details of patch yet but would it be possible to move to constructors instead of construct?
For reference https://bugzilla.gnome.org/show_bug.cgi?id=523767
@Maciej: Putting the initializers in construct should be the preferred way for GObject classes where you can rely on its bottom-up init sequence.