edje - edje_cc - try and make coverty ignore the leak (invalid)
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 11 Dec 2013 09:20:13 +0000 (18:20 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 11 Dec 2013 09:20:13 +0000 (18:20 +0900)
hope that this does not reappear in future if changes happen in src.
CID 1132627

src/bin/edje/edje_cc_out.c

index f5a5044..632a8bb 100644 (file)
@@ -945,8 +945,11 @@ data_write_images(Eet_File *ef, int *image_num)
                          data_image_preload_done(iw, evas, im, NULL);
                     }
                   else
-                    error_and_abort_image_load_error
-                    (ef, img->entry, load_err);
+                    {
+                       error_and_abort_image_load_error
+                         (ef, img->entry, load_err);
+                       exit(1); // ensure static analysis tools know we exit
+                    }
                }
          }
      }