Home
last modified time | relevance | path

Searched defs:SAFE_FREE (Results 1 – 7 of 7) sorted by relevance

/external/tpm2-tss/src/util/
Daux_util.h13 #define SAFE_FREE(S) if((S) != NULL) {free((void*) (S)); (S)=NULL;} macro
/external/ltp/testcases/misc/math/float/
Dmain.c30 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro
Dthread_code.c28 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro
/external/ltp/testcases/kernel/sched/tool/
Dtrace_sched.c91 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro
/external/ltp/testcases/kernel/sched/cfs-scheduler/
Dhackbench.c62 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro
/external/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c61 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro
/external/e2fsprogs/lib/ext2fs/
Dtdb.c158 #define SAFE_FREE(x) do { if ((x) != NULL) {free(x); (x)=NULL;} } while(0) macro