(re-)added ucfree() which does memset(0) and free() afterwards

This commit is contained in:
TLINDEN
2014-02-10 11:36:50 +01:00
parent a3468a45cf
commit 79392eb6c7
2 changed files with 10 additions and 0 deletions

View File

@@ -41,4 +41,7 @@ void *urmalloc(size_t s);
/* resize a a pointer and fill the added remainder with zeroes */
void *ucrealloc(void *d, size_t oldlen, size_t newlen);
/* clear and free */
void ucfree(void *d, size_t len);
#endif /* _HAVE_PCP_MEM */