X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayout.c;h=0345807f3a3f9b85df7bd368824a0708684641ef;hb=9c605257e22e0f28939c6b679324488b2719999d;hp=1895a07c8dc0c840a4e765cf0fe2af862f170705;hpb=1f888f2050ac50ec8c1750ff4f0e2c485936d7ed;p=src%2Fagl-compositor.git diff --git a/src/layout.c b/src/layout.c index 1895a07..0345807 100644 --- a/src/layout.c +++ b/src/layout.c @@ -241,6 +241,9 @@ ivi_layout_find_with_app_id(const char *app_id, struct ivi_compositor *ivi) { struct ivi_output *out; + if (!app_id) + return NULL; + wl_list_for_each(out, &ivi->outputs, link) { if (!out->app_id) continue;