From: Kristian Høgsberg Date: Fri, 12 Aug 2011 20:32:13 +0000 (-0400) Subject: connection: Object ID 0 is not a valid new object ID X-Git-Tag: 0.85.0~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6ede01b68ebdd74b2025bd087b8b52b0b5f2eef;p=profile%2Fivi%2Fwayland.git connection: Object ID 0 is not a valid new object ID --- diff --git a/src/connection.c b/src/connection.c index 467a2d0..6dfb0b9 100644 --- a/src/connection.c +++ b/src/connection.c @@ -600,7 +600,7 @@ wl_connection_demarshal(struct wl_connection *connection, closure->types[i] = &ffi_type_uint32; closure->args[i] = p; object = wl_hash_table_lookup(objects, *p); - if (object != NULL) { + if (*p == 0 || object != NULL) { printf("not a new object (%d), " "message %s(%s)\n", *p, message->name, message->signature);