aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-06-12 17:48:19 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-06-13 10:45:38 -0400
commit8dc57f4dda804f50515a7a5366dceef13999ebcd (patch)
treef0c58e227a0e1d8121b5f702588541b212eba748 /src
parentconnection: Always malloc closure (diff)
downloadwayland-8dc57f4dda804f50515a7a5366dceef13999ebcd.tar
wayland-8dc57f4dda804f50515a7a5366dceef13999ebcd.tar.gz
wayland-8dc57f4dda804f50515a7a5366dceef13999ebcd.tar.bz2
wayland-8dc57f4dda804f50515a7a5366dceef13999ebcd.tar.lz
wayland-8dc57f4dda804f50515a7a5366dceef13999ebcd.tar.xz
wayland-8dc57f4dda804f50515a7a5366dceef13999ebcd.tar.zst
wayland-8dc57f4dda804f50515a7a5366dceef13999ebcd.zip
connection: Set closure->start in demarshal too
Diffstat (limited to 'src')
-rw-r--r--src/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection.c b/src/connection.c
index 448cc65..1272210 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -598,6 +598,7 @@ wl_connection_demarshal(struct wl_connection *connection,
closure->message = message;
closure->types[0] = &ffi_type_pointer;
closure->types[1] = &ffi_type_pointer;
+ closure->start = closure->buffer;
wl_connection_copy(connection, closure->buffer, size);
p = &closure->buffer[2];