MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / MISC_release_request_silent

Function MISC_release_request_silent

src/burp/misc.cpp:39–46  ·  view source on GitHub ↗

Since this code appears everywhere, it makes more sense to isolate it in a function visible to all gbak components. Given a request, if it's non-zero (compiled), deallocate it but without caring about a possible error.

Source from the content-addressed store, hash-verified

37// Given a request, if it's non-zero (compiled), deallocate it but
38// without caring about a possible error.
39void MISC_release_request_silent(Firebird::IRequest*& req_handle)
40{
41 if (req_handle)
42 {
43 req_handle->release();
44 req_handle = nullptr;
45 }
46}
47
48
49int MISC_symbol_length( const TEXT* symbol, ULONG size_len)

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected