Searched refs:SAFE_FREE (Results 1 – 9 of 9) sorted by relevance
28 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro91 SAFE_FREE(buffer); in read_file()106 SAFE_FREE(buffer); in read_file()291 SAFE_FREE(din); in thread_code()301 SAFE_FREE(din); in thread_code()302 SAFE_FREE(dex); in thread_code()321 SAFE_FREE(din); in thread_code()322 SAFE_FREE(dex); in thread_code()353 SAFE_FREE(din); in thread_code()354 SAFE_FREE(dex); in thread_code()[all …]
30 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro175 SAFE_FREE(bin_path); in main()299 SAFE_FREE(pcom); in main()304 SAFE_FREE(tabcom); in main()305 SAFE_FREE(threads); in main()
85 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro156 SAFE_FREE(buf); in main()161 SAFE_FREE(buf); in main()216 SAFE_FREE(buf); in child()219 SAFE_FREE(buf); in child()
106 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro284 SAFE_FREE(arg.buf); in test_commands()296 SAFE_FREE(arg.array); in test_commands()394 SAFE_FREE(arg.array); in test_commands()714 SAFE_FREE(arg.buf); in test_commands()723 SAFE_FREE(arg.array); in test_commands()779 SAFE_FREE(arg.array); in test_commands()
96 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro266 SAFE_FREE(semunptr.buf); in test_commands()401 SAFE_FREE(arg.array); in test_commands()
62 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro367 SAFE_FREE(rev_ctx_tab[i * num_fds + j]) in main()369 SAFE_FREE(snd_ctx_tab[i]); in main()371 SAFE_FREE(pth_tab); in main()372 SAFE_FREE(snd_ctx_tab); in main()373 SAFE_FREE(rev_ctx_tab); in main()
91 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro434 SAFE_FREE(args_table[thrd_ndx]); in main()435 SAFE_FREE(status_table[thrd_ndx]); in main()447 SAFE_FREE(args_table); in main()448 SAFE_FREE(status_table); in main()
159 #ifndef SAFE_FREE160 #define SAFE_FREE(x) do { if ((x) != NULL) {free(x); (x)=NULL;} } while(0) macro575 SAFE_FREE(tdb->lockrecs); in tdb_unlock()1157 SAFE_FREE(buf); in tdb_alloc_read()1634 SAFE_FREE(tdb->transaction); in tdb_transaction_start()1686 SAFE_FREE(tdb->transaction->hash_heads); in tdb_transaction_start()1687 SAFE_FREE(tdb->transaction); in tdb_transaction_start()1733 SAFE_FREE(tdb->lockrecs); in tdb_transaction_cancel()1741 SAFE_FREE(tdb->transaction->hash_heads); in tdb_transaction_cancel()1742 SAFE_FREE(tdb->transaction); in tdb_transaction_cancel()[all …]
61 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro491 SAFE_FREE(writebuf); in cleanup()492 SAFE_FREE(readbuf); in cleanup()