add hx509_xfree

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22346 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-12-26 19:14:33 +00:00
parent 61835b52b4
commit 5e7f1ac78f

View File

@@ -3085,3 +3085,16 @@ _hx509_abort(const char *fmt, ...)
abort();
}
/**
* Free a data element allocated in the library.
*
* @param ptr data to be freed.
*
* @ingroup hx509_misc
*/
void
hx509_xfree(void *ptr)
{
free(ptr);
}