summaryrefslogtreecommitdiff
path: root/dbmalloc.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-26 00:19:39 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-26 00:19:39 +0800
commit790dbccd9ea6162b335289000efeb49adf5c481e (patch)
tree386ed42dfa23c50d580a1727c5dca711f65f9db3 /dbmalloc.h
parentd7abcd123eccd3da7f53d0430a25fc9efbd8ffd7 (diff)
downloaddropbear-790dbccd9ea6162b335289000efeb49adf5c481e.tar.gz
linked list dbmalloc now
add non-free m_malloc_free_epoch() argument for leak detection
Diffstat (limited to 'dbmalloc.h')
-rw-r--r--dbmalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbmalloc.h b/dbmalloc.h
index f27ab39..f05f8f5 100644
--- a/dbmalloc.h
+++ b/dbmalloc.h
@@ -11,6 +11,6 @@ void m_free_direct(void* ptr);
#define m_free(X) do {m_free_direct(X); (X) = NULL;} while (0)
void m_malloc_set_epoch(unsigned int epoch);
-void m_malloc_free_epoch(unsigned int epoch);
+void m_malloc_free_epoch(unsigned int epoch, int dofree);
#endif /* DBMALLOC_H_ */