[FIX] Preload probes setup 23/43623/1
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Sun, 12 Jul 2015 12:57:10 +0000 (15:57 +0300)
committerVasiliy Ulyanov <v.ulyanov@samsung.com>
Sun, 12 Jul 2015 12:57:10 +0000 (15:57 +0300)
Do not return immediately if some of the binaries are not found
on target. Otherwise the probes might not be setup properly (e.g.
if the wrong binary appears in the middle of the list).

Change-Id: I9c99f9def6922fdba11d623fe6e574ceda10ca9a
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
daemon/da_protocol_inst.c

index 08be3b2..d62df72 100644 (file)
@@ -527,7 +527,7 @@ int feature_add_lib_inst_list(struct ld_feature_list_el_t *ld_lib_list,
                if (!feature_add_inst_lib(ld_lib_list->libs[i], &lib)) {
                        // TODO maybe need free allocated memory up there
                        LOGE("add LD lib #%d failed\n", i + 1);
-                       return 0;
+                       continue;
                }
                data_list_append((struct data_list_t **)lib_list,
                                 (struct data_list_t *)lib);