aboutsummaryrefslogtreecommitdiff
path: root/src/coverity-model.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2019-01-20 13:58:38 -0500
committerGitHub <noreply@github.com>2019-01-20 13:58:38 -0500
commit7e3300f7170afb870350c1d0e0a7f92f58b6e914 (patch)
treedefa1b075883b6377d8162e26617a7e0571ba1b2 /src/coverity-model.c
parent62254d2cc0d3cbd0e8aea75657ffb82e29ccfdfd (diff)
parentc2343180d74f547d99abcc3c4979a9ebb047af17 (diff)
downloadrneovim-7e3300f7170afb870350c1d0e0a7f92f58b6e914.tar.gz
rneovim-7e3300f7170afb870350c1d0e0a7f92f58b6e914.tar.bz2
rneovim-7e3300f7170afb870350c1d0e0a7f92f58b6e914.zip
Merge pull request #9526 from jamessan/remove-jemalloc
Remove support for using jemalloc instead of the system allocator
Diffstat (limited to 'src/coverity-model.c')
-rw-r--r--src/coverity-model.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/coverity-model.c b/src/coverity-model.c
index 3c38e4ae4d..2fd55c332c 100644
--- a/src/coverity-model.c
+++ b/src/coverity-model.c
@@ -34,32 +34,6 @@ int uv_pipe_open(struct uv_pipe_s *handle, int fd)
return result;
}
-// Issue 2422
-//
-// Teach coverity about jemalloc functions, so that it understands
-// they are equivalent to malloc ones.
-
-void *je_malloc(size_t size)
-{
- return __coverity_alloc__(size);
-}
-
-void je_free(void *ptr)
-{
- __coverity_free__(ptr);
-}
-
-void *je_calloc(size_t count, size_t size)
-{
- return je_malloc(count * size);
-}
-
-void *je_realloc(void *ptr, size_t size)
-{
- je_free(ptr);
- return je_malloc(size);
-}
-
// Hint Coverity that adding item to d avoids losing track
// of the memory allocated for item.
typedef struct {} dictitem_T;