rimmed pushed a commit to branch eflete-1.18.

http://git.enlightenment.org/tools/eflete.git/commit/?id=9b8fa5760ab8b0401d63d2473a22c0aa0b488789

commit 9b8fa5760ab8b0401d63d2473a22c0aa0b488789
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Thu Sep 15 12:04:14 2016 +0300

    alloc: exit application on calloc error
---
 src/bin/alloc/alloc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/alloc/alloc.h b/src/bin/alloc/alloc.h
index 6f9eb46..84dcce5 100644
--- a/src/bin/alloc/alloc.h
+++ b/src/bin/alloc/alloc.h
@@ -79,6 +79,7 @@ mem_calloc(size_t num, size_t size)
      {
         CRIT(TERM_MESSAGE);
         app_shutdown();
+        exit(EXIT_FAILURE);
      }
    return mem_block;
 }

-- 


Reply via email to