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

Re: restarting libwww after calling HTProfile_delete

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Thu, 28 Jan 1999 16:51:34 -0500
Message-Id: <3.0.5.32.19990128165134.02f00ea0@localhost>
To: Raffaele Sena <raff@nuvomedia.com>, www-lib <www-lib@w3.org>
At 12:03 1/28/99 -0800, Raffaele Sena wrote:
>
>I changed a small application that was calling HTProfile_newHTMLClient
>and HTProfile_delete into a library, to be linked by a main application.
>The first approach was just changing the main program into my library
>entrypoint, calling both functions every time my module is called.
>
>When calling my module a second time, the library crashed because
>some pointers to bad memory. They need to be reset in HTProfile_delete,
>to allow the library to reinitialized them.

Thanks - committed, see

	http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTProfil.c

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Thursday, 28 January 1999 16:51:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:28 GMT