mirror of
https://github.com/curl/curl.git
synced 2026-08-07 01:28:49 +03:00
MemoryTracking: adjust initialization calling
Calling of curl_memdebug() was still done with a pending free()
This commit is contained in:
parent
2d7c79af76
commit
aaab5fa299
4 changed files with 61 additions and 42 deletions
|
|
@ -32,14 +32,12 @@
|
|||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
#define CURL_MT_LOGFNAME_BUFSIZE 512
|
||||
|
||||
#define logfile curl_debuglogfile
|
||||
|
||||
extern FILE *logfile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue