aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-vala')
-rw-r--r--xmpp-vala/src/core/stanza_writer.vala2
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;