After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 625653 - Properly allocate boxed structs that are (caller-allocates)
Properly allocate boxed structs that are (caller-allocates)
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-30 12:16 UTC by Tomeu Vizoso
Modified: 2010-07-30 15:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Properly allocate boxed structs that are (caller-allocates) (8.22 KB, patch)
2010-07-30 12:16 UTC, Tomeu Vizoso
committed Details | Review

Description Tomeu Vizoso 2010-07-30 12:16:40 UTC
* gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
* gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
  are (caller-allocates)
* tests/test_overrides.py: Split the TreeView tests
Comment 1 Tomeu Vizoso 2010-07-30 12:16:42 UTC
Created attachment 166827 [details] [review]
Properly allocate boxed structs that are (caller-allocates)
Comment 2 Tomeu Vizoso 2010-07-30 15:10:46 UTC
Zach says it looks wonderful

Attachment 166827 [details] pushed as caac75a - Properly allocate boxed structs that are (caller-allocates)