about summary refs log tree commit homepage
path: root/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'alloc.c')
-rw-r--r--alloc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/alloc.c b/alloc.c
index 7a14173..ba48ff7 100644
--- a/alloc.c
+++ b/alloc.c
@@ -178,12 +178,6 @@ void mog_rbuf_free(struct mog_rbuf *rbuf)
         free(rbuf);
 }
 
-void mog_rbuf_free_and_null(struct mog_rbuf **ptrptr)
-{
-        mog_rbuf_free(*ptrptr);
-        *ptrptr = NULL;
-}
-
 /* retrieves the per-thread fsbuf and sets size to the value of fsbuf_size */
 void *mog_fsbuf_get(size_t *size)
 {