MCPcopy Create free account
hub / github.com/OISF/libhtp / test_destroy

Function test_destroy

test/test.c:56–61  ·  view source on GitHub ↗

* Destroys a test. * * @param[in] test */

Source from the content-addressed store, hash-verified

54 * @param[in] test
55 */
56static void test_destroy(test_t *test) {
57 if (test->buf != NULL) {
58 free(test->buf);
59 test->buf = NULL;
60 }
61}
62
63/**
64 * Checks if there's a chunk boundary at the given position.

Callers 1

test_run_exFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected