wayland-shm: Add return before we hit the error clean-up path

Regression in c94c0946db
This commit is contained in:
Kristian Høgsberg 2012-07-09 21:50:39 -04:00
parent dba322c1c0
commit b4aff6b79f

View file

@ -221,6 +221,8 @@ shm_create_pool(struct wl_client *client, struct wl_resource *resource,
wl_client_add_resource(client, &pool->resource);
return;
err_close:
close(fd);
err_free: