Fix crash when trying to register session recovery interface

This commit is contained in:
Stefan Schmidt 2015-10-24 15:21:50 +02:00
parent 129bbf1f90
commit d685152a43
1 changed files with 1 additions and 1 deletions

View File

@ -2041,7 +2041,7 @@ _e_comp_wl_session_recovery_cb_bind(struct wl_client *client, void *data EINA_UN
{
struct wl_resource *res;
if (!(res = wl_resource_create(client, &session_recovery_interface, 1, id)))
if (!(uuid_res = wl_resource_create(client, &session_recovery_interface, 1, id)))
{
ERR("Could not create session_recovery interface");
wl_client_post_no_memory(client);