diff options
author | Milan Crha <mcrha@redhat.com> | 2019-10-14 13:45:02 +0200 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2019-10-20 09:24:40 -0400 |
commit | 897260da8c5320e6025d9a7dbaa601f666da4132 (patch) | |
tree | 2d3314933a5348e44d64c47e2a15902b1359fa83 /src/libical-glib/tools/source-structure-boilerplate-template | |
parent | 3d80068a5a9faa61af8d7c6a4551df30b56e3602 (diff) | |
download | libical-git-897260da8c5320e6025d9a7dbaa601f666da4132.tar.gz |
libical-glib: Fix ICalAttach handling of the icalattach native structure
The icalattach structure is specific, it has its own ref-counting, thus
let the ICalAttach wrapper depend on it, rather than depend on the owner
ICalProperty or ICalValue. This way the "owner" can be freed and the ICalAttach
will still hold valid structure.
Diffstat (limited to 'src/libical-glib/tools/source-structure-boilerplate-template')
-rw-r--r-- | src/libical-glib/tools/source-structure-boilerplate-template | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libical-glib/tools/source-structure-boilerplate-template b/src/libical-glib/tools/source-structure-boilerplate-template index ceddd505..77d20aae 100644 --- a/src/libical-glib/tools/source-structure-boilerplate-template +++ b/src/libical-glib/tools/source-structure-boilerplate-template @@ -26,6 +26,7 @@ ${new_full} ${native} *clone;^$$^!${isBare} if (native == NULL) return NULL;^$ + ${new_full_extraCode} $^${isBare} clone = g_new (${native}, 1); *clone = native;^$ |