Fix StepTpkPatchIcons 70/309170/1
authorIlho Kim <ilho159.kim@samsung.com>
Fri, 5 Apr 2024 09:30:18 +0000 (18:30 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Fri, 5 Apr 2024 09:30:18 +0000 (18:30 +0900)
After processing the inappropriate icon path
the loop must be terminated

Change-Id: Ib91d59ffeaea91838709d0c9cae4f3571cac2d1e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/tpk/step/filesystem/step_tpk_patch_icons.cc

index a0f242c352fbd9f609e0b5310e84ce7cb0ceaaa9..d1cc1e38eff8276e9d94077ae608f99ce8dd4e7e 100644 (file)
@@ -131,6 +131,7 @@ common_installer::Step::Status StepTpkPatchIcons::process() {
                   free(icon);
                 });
             app->icon = nullptr;
+            break;
           } else {
             return status;
           }