Re: Disconnecting a client



Michael Bell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> if I use the following code to cleanup an asynchronous http client:
> 
> soup_session_abort(session);
> g_object_unref(session);
> 
> Sometime the code crashes on g_object_unref.

That points to some sort of memory-handling error; something's getting
freed twice or something. Where exactly does it crash? And does running
under valgrind tell you anything?

-- Dan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]