diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-30 05:58:36 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-30 05:58:36 +0000 |
commit | e46c16c46ad18d40f21b251bf8995387efa68796 (patch) | |
tree | 7113f6e5fd33a5d7a1c6d20a153ccac74342f042 /mandoc.c | |
parent | e7cea9dff6d8ebb34cdba4486eef0fcc6ac84160 (diff) | |
download | mandoc-e46c16c46ad18d40f21b251bf8995387efa68796.tar.gz |
libmdoc and libman now using non-recoverable allocations (simpler code).
Diffstat (limited to 'mandoc.c')
-rw-r--r-- | mandoc.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -150,19 +150,6 @@ mandoc_realloc(void *ptr, size_t size) } -void * -mandoc_reallocf(void *old_ptr, size_t size) /* FIXME: remove (not used) */ -{ - void *ptr; - - ptr = realloc(old_ptr, size); - if (NULL == ptr) - free(old_ptr); - - return(ptr); -} - - char * mandoc_strdup(const char *ptr) { |