Home
last modified time | relevance | path

Searched refs:free (Results 1 – 25 of 32) sorted by relevance

12

/libevent-2.1.12/
H A Devthread.c117 target->free == cbs->free && in evthread_set_lock_callbacks()
127 if (cbs->alloc && cbs->free && cbs->lock && cbs->unlock) { in evthread_set_lock_callbacks()
223 if (original_lock_fns_.free) { in debug_lock_free()
224 original_lock_fns_.free(lock->lock, in debug_lock_free()
385 original_lock_fns_.free(lock_, locktype); in evthread_setup_global_lock_()
390 original_lock_fns_.free(lock_, locktype); in evthread_setup_global_lock_()
443 if (evthread_lock_fns_.free) in evthreadimpl_lock_free_()
444 evthread_lock_fns_.free(lock, locktype); in evthreadimpl_lock_free_()
H A Dmm-internal.h85 #define mm_free(p) free(p)
H A Devthread-internal.h88 if (lock_tmp_ && evthread_lock_fns_.free) \
89 evthread_lock_fns_.free(lock_tmp_, (locktype)); \
H A Dwhatsnew-2.1.txt93 singletons but provided no means to free them. There is now a
94 function, libevent_global_shutdown(), that you can use to free all
96 don't complain. (Note: this function doesn't free non-global things
97 like events, bufferevents, and so on; and it doesn't free anything
129 Note however that Libevent doesn't know how to free any information
227 promising not to use the "event_del(ev); free(event_get_callback_arg(ev));"
476 free the connection object after the last request has completed or failed.
H A DChangeLog-1.423 o Fix a free(NULL) in min_heap.h (2458934)
137 …o Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigm…
159 o free minheap on event_base_free(); from Christopher Layne
186 o Fix a memory leak in which failed HTTP connections would not free the request object
H A DChangeLog-2.011 …o iocp: Close IOCP listener socket on free when LEV_OPT_CLOSE_ON_FREE is set (cb853ea Juan Pablo F…
307 o Correctly free selectop fields when select_resize fails in select_init (0c0ec0b)
313 o Fix incorrect assertions and possible use-after-free in evrpc_free() (4b8f02f Christophe Fillot)
336 o Avoid a free(NULL) if out-of-memory in evdns_getaddrinfo. Found by Dave Hart (3417f68)
462 o Don't free evdns_request handles until after the callback is invoked (9ed30de)
759 o Fix a free(NULL) in minheap-internal.h (6f20492)
906 o Fix two use-after-free bugs in unit tests spoted by lock debugging (d84d838)
929 o Fix a bogus free in evutil_new_addrinfo() (0d64051 Jardel Weyrich)
935 …o Eradicated the last free() call. Let mm_free() take care of deallocation. (0546ce1 Jardel Weyric…
1084 o Fix a possible free(NULL) when freeing an event_base with no signals.
[all …]
H A DChangeLog447 o evdns: evdns_base_free(): free requests before namservers (14f84bb Azat Khuzhin)
594 o be_pair/regress: cover use of shared lock (lock/unlock/free) (a558fcd Azat Khuzhin)
607 o sample/https-client: don't try to free uninitialized SSL (f3d7ff5 Azat Khuzhin)
770 o Fix use-after-free error in EV_CLOSURE_EVENT callback (3cc0eac John Ohl)
820 o Fix a use-after-free in unit tests. CID 752027 (3739057)
1288 o Add a new callback to get called on evbuffer_file_segment free
1736 o Correctly free selectop fields when select_resize fails in select_init (0c0ec0b)
1765 o Avoid a free(NULL) if out-of-memory in evdns_getaddrinfo. Found by Dave Hart (3417f68)
1855 o Avoid double-free on error in evbuffer_add_file. Found by
1960 o Add a new libevent_global_shutdown() to free all globals before
[all …]
H A DLICENSE83 Permission is hereby granted, free of charge, to any person obtaining a copy
H A Dwhatsnew-2.0.txt136 free(), and realloc().
140 memory with malloc(), and free it with the free() function you provide.
448 the improvements that they get for free from the underlying evbuffer
/libevent-2.1.12/test/
H A Dregress_buffer.c1408 free(cp); in test_evbuffer_readln()
1417 free(cp); in test_evbuffer_readln()
1421 free(cp); in test_evbuffer_readln()
1436 free(cp); in test_evbuffer_readln()
1441 free(cp); in test_evbuffer_readln()
1446 free(cp); in test_evbuffer_readln()
1455 free(cp); in test_evbuffer_readln()
1466 free(cp); in test_evbuffer_readln()
1471 free(cp); in test_evbuffer_readln()
1482 free(cp); in test_evbuffer_readln()
[all …]
H A Dtinytest_demo.c131 free(db); in clean_data_buffer()
171 free(mem); in test_memcpy()
H A Dbench_cascade.c133 free(pipes); in run_once()
134 free(events); in run_once()
H A Dregress_http.c436 free(state); in http_chunked_trickle_cb()
1042 free(result1); in http_allowed_methods_test()
1044 free(result2); in http_allowed_methods_test()
1046 free(result3); in http_allowed_methods_test()
1399 free(orig); in http_free_evcons()
2964 free(s); in http_uriencode_test()
2973 free(s); in http_uriencode_test()
2990 free(s); in http_uriencode_test()
2997 free(s); in http_uriencode_test()
3007 free(s); in http_uriencode_test()
[all …]
H A Dregress_minheap.c91 free(inserted[i]); in test_heap_randomized()
H A Dregress_finalize.c179 free(p); in tfff_free()
303 free(ev); in event_finalize_callback_free()
H A Dbench_httpclient.c108 free(ri); in errorcb()
H A Dtest-ratelim.c553 free(bevs); in test_ratelimiting()
554 free(states); in test_ratelimiting()
H A Dtinytest_macros.h194 { if (print_) free(print_); }, \
H A Dregress_main.c351 free(data); in basic_test_cleanup()
H A Dregress_bufferevent.c271 lu_base.cbs.free(lock_, locktype); in trace_lock_free()
340 free(lu_base.locks); in free_lock_unlock_profiler()
1288 free(header); in bufferevent_filter_data_stuck_inputcb()
H A Dregress_util.c547 free(logmsg); in logfn()
624 if (logmsg) free(logmsg); \ in test_evutil_log()
700 free(logmsg); in test_evutil_log()
H A Dregress_ssl.c334 free(line); in respond_to_number()
979 free(payload); in regress_bufferevent_openssl_wm()
/libevent-2.1.12/sample/
H A Dhttp-server.c264 free(pattern); in send_document_cb()
339 free(decoded_path); in send_document_cb()
341 free(whole_path); in send_document_cb()
/libevent-2.1.12/include/event2/
H A Dthread.h112 void (*free)(void *lock, unsigned locktype); member
/libevent-2.1.12/cmake/
H A DCodeCoverage.cmake4 # Permission is hereby granted, free of charge, to any person or organization

12