Index: hid_cam.c =================================================================== --- hid_cam.c (revision 18277) +++ hid_cam.c (revision 18278) @@ -308,7 +308,7 @@ free(dst->inst); dst->inst = NULL; if (!dst->active) - return; + return 0; layervis_restore(dst); dst->active = 0; return dst->exported_grps;