rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=27657bb13b1d2381c2b99a071685ec27676270a5

commit 27657bb13b1d2381c2b99a071685ec27676270a5
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