mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:53:31 +03:00
dynbuf: assert init on free
Add a DEBUGASSERT() in Curl_dyn_free() that checks that Curl_dyn_init() has been performed before. Fix code places that did it wrong. Fixes #16725 Closes #16775
This commit is contained in:
parent
cd7eb9e0f2
commit
646b2d6ca2
17 changed files with 222 additions and 163 deletions
|
|
@ -212,6 +212,7 @@ struct ssh_conn {
|
|||
byte handle[WOLFSSH_MAX_HANDLE];
|
||||
curl_off_t offset;
|
||||
#endif /* USE_LIBSSH */
|
||||
BIT(initialised);
|
||||
};
|
||||
|
||||
#ifdef USE_LIBSSH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue