• Philip Chimento's avatar
    boxed: Mark pointer as unowned when discarding boxed object · 7b330751
    Philip Chimento authored
    Sometimes, in the constructor of a boxed object, we will delegate to
    another constructor, such as GLib.Error() or GLib.Variant.new_internal()
    and replace the object under construction by the object returned by
    the delegated constructor.
    
    When that happens, the internal GBoxed pointer of the BoxedInstance
    remains null. That causes problems when eventually the discarded boxed
    object is garbage collected, and we try to free the pointer. In those
    cases, mark it as unowned so it is not freed.
    7b330751
Name
Last commit
Last update
.gitlab/issue_templates Loading commit data...
doc Loading commit data...
examples Loading commit data...
gi Loading commit data...
gjs Loading commit data...
installed-tests Loading commit data...
libgjs-private Loading commit data...
m4 Loading commit data...
modules Loading commit data...
test Loading commit data...
tools Loading commit data...
util Loading commit data...
win32 Loading commit data...
.clang-format Loading commit data...
.eslintignore Loading commit data...
.eslintrc.json Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
COPYING.LGPL Loading commit data...
CPPLINT.cfg Loading commit data...
ChangeLog Loading commit data...
Makefile-examples.am Loading commit data...
Makefile-insttest.am Loading commit data...
Makefile-modules.am Loading commit data...
Makefile-test.am Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
git.mk Loading commit data...
gjs-1.0.pc.in Loading commit data...
gjs-modules-srcs.mk Loading commit data...
gjs-srcs.mk Loading commit data...
gjs.doap Loading commit data...
verbump.py Loading commit data...