diff options
author | Marvin W <git@larma.de> | 2020-04-01 16:08:28 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2020-04-01 17:40:47 +0200 |
commit | 0af8526ab107fd4f1862db87cf26aff97940f322 (patch) | |
tree | d45b70e32a9f273c3de88ff1da5b28fbb2396a95 /xmpp-vala/src/core | |
parent | 2f52291be546b6fd68a1d8c4eb81978cb592a882 (diff) | |
download | dino-0af8526ab107fd4f1862db87cf26aff97940f322.tar.gz dino-0af8526ab107fd4f1862db87cf26aff97940f322.zip |
Work-around use after free
Upstream: https://gitlab.gnome.org/GNOME/vala/-/issues/751
Diffstat (limited to 'xmpp-vala/src/core')
-rw-r--r-- | xmpp-vala/src/core/stanza_writer.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/core/stanza_writer.vala b/xmpp-vala/src/core/stanza_writer.vala index c2f589df..ab51a948 100644 --- a/xmpp-vala/src/core/stanza_writer.vala +++ b/xmpp-vala/src/core/stanza_writer.vala @@ -18,7 +18,7 @@ public class StanzaWriter { yield write_data(s.data); } - private async void write_data(uint8[] data) throws XmlError { + private async void write_data(owned uint8[] data) throws XmlError { if (running) { queue.push_tail(new SourceFuncWrapper(write_data.callback)); yield; |