Add zfree

This commit is contained in:
Johan Malm 2021-02-21 21:59:53 +00:00
parent 1b263e1f67
commit 9f61a819fc
4 changed files with 27 additions and 15 deletions

8
include/common/zfree.h Normal file
View file

@ -0,0 +1,8 @@
#ifndef __LABWC_ZFREE_H
#define __LABWC_ZFREE_H
void __zfree(void **ptr);
#define zfree(ptr) __zfree((void **)&(ptr))
#endif /* __LABWC_ZFREE_H */