add hx509_xfree
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22346 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user