Index: main/format.c =================================================================== --- main/format.c (revision 405589) +++ main/format.c (working copy) @@ -104,6 +104,10 @@ .id = format->id, }; + if (!interfaces) { + return NULL; + } + return ao2_find(interfaces, &tmp_wrapper, OBJ_POINTER); }