W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2003

is there a memory leak?

From: Tanmay Patwardhan <tpthesis@hotmail.com>
Date: Fri, 21 Mar 2003 15:33:43 -0600
To: www-lib@w3.org
Message-ID: <F83wLZzPQ81EWJGM2Ud00008515@hotmail.com>

In my program using libwww, using purify on the application, it reported a 
few mem. leaks all at the following piece of code:

[W] MLK: Memory leak of 17 bytes from 1 block allocated in HTStrMatch
        Distribution of leaked blocks
        Allocation location
            malloc         [dbgheap.c:129]
            HTStrMatch     [wwwutils.dll]
            HTDir_new      [wwwdir.dll]
            HTDir_new      [wwwdir.dll]
            HTNetInit      [wwwinit.dll]
            HTNetInit      [wwwinit.dll]
            HTNetInit      [wwwinit.dll]
         // Create a new premptive client
  =>     HTProfile_newNoCacheClient("libwww-POST", "1.0");

I am deleting the profile at the end of the program as:

Is there anything I am missing? This happens wierdly only the second time I 
use the library in my app, is that means anything!

Thanks in advance,

Tanmay Patwardhan
Applications Developer,
UBS Warburg,
Chicago, IL.

STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
Received on Friday, 21 March 2003 16:33:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:55 UTC