summaryrefslogtreecommitdiff
path: root/legacy/edje/src/bin/edje_cc_mem.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-12-16 00:29:05 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-12-16 00:29:05 +0000
commit1aa9b4e6dd2524e3b5b23414f798a93698910ce7 (patch)
treefd32c6c45264eba6515800a623e283654c8817aa /legacy/edje/src/bin/edje_cc_mem.c
parentf51c8f7fc3bcec9e5a38f843f47b91a1b349d128 (diff)
back out:
r66257 <- another small fix on the real problem r66250 <- a small fix on the real problem r66242 <- the real problem jaewhan - your commit yesterday (r66242) has made edje_cc very unstable and it will randomly segv (sometimes yes, sometimes no). as such it's at the point i can't even compile e and elm without it segving somewhere during build, so this gets backed out. review your change carefully and look for issues. SVN revision: 66265
Diffstat (limited to 'legacy/edje/src/bin/edje_cc_mem.c')
-rw-r--r--legacy/edje/src/bin/edje_cc_mem.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/legacy/edje/src/bin/edje_cc_mem.c b/legacy/edje/src/bin/edje_cc_mem.c
index 9c823a3ff4..7c1a5c9b60 100644
--- a/legacy/edje/src/bin/edje_cc_mem.c
+++ b/legacy/edje/src/bin/edje_cc_mem.c
@@ -26,22 +26,6 @@ mem_alloc(size_t size)
26 return NULL; 26 return NULL;
27} 27}
28 28
29void *
30mem_realloc(void *p, size_t size)
31{
32 void *mem;
33
34 if (!p)
35 mem = calloc(1, size);
36 else
37 mem = realloc(p, size);
38 if (mem) return mem;
39 ERR("%s: Error. %s:%i memory allocation of " FMT_SIZE_T " bytes failed. %s",
40 progname, file_in, line, size, strerror(errno));
41 exit(-1);
42 return NULL;
43}
44
45char * 29char *
46mem_strdup(const char *s) 30mem_strdup(const char *s)
47{ 31{