MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / pqueue_new

Function pqueue_new

3rdparty/boringssl/ssl/pqueue/pqueue.c:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93pqueue pqueue_new(void) {
94 pqueue_s *pq = OPENSSL_malloc(sizeof(pqueue_s));
95 if (pq == NULL) {
96 return NULL;
97 }
98
99 memset(pq, 0, sizeof(pqueue_s));
100 return pq;
101}
102
103void pqueue_free(pqueue_s *pq) {
104 if (pq == NULL) {

Callers 3

dtls1_newFunction · 0.85
trivialFunction · 0.85
fixed_randomFunction · 0.85

Calls

no outgoing calls

Tested by 2

trivialFunction · 0.68
fixed_randomFunction · 0.68