Loading lib/README.memoryleak +3 −3 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ Modify Your Application Add a line in your application code: curl_memdebug("filename"); curl_memdebug("dump"); This will make the malloc debug system output a full trace of all resource using functions to the given file name. Make sure you rebuild your program Loading @@ -45,9 +45,9 @@ Run Your Application Analyze the Flow Use the tests/memanalyze.pl perl script to analyze the memdump file: Use the tests/memanalyze.pl perl script to analyze the dump file: tests/memanalyze.pl < memdump tests/memanalyze.pl dump This now outputs a report on what resources that were allocated but never freed etc. This report is very fine for posting to the list! Loading Loading
lib/README.memoryleak +3 −3 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ Modify Your Application Add a line in your application code: curl_memdebug("filename"); curl_memdebug("dump"); This will make the malloc debug system output a full trace of all resource using functions to the given file name. Make sure you rebuild your program Loading @@ -45,9 +45,9 @@ Run Your Application Analyze the Flow Use the tests/memanalyze.pl perl script to analyze the memdump file: Use the tests/memanalyze.pl perl script to analyze the dump file: tests/memanalyze.pl < memdump tests/memanalyze.pl dump This now outputs a report on what resources that were allocated but never freed etc. This report is very fine for posting to the list! Loading