synaptic-devel
[Top][All Lists]
Advanced

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

Re: [Synaptic-devel] RGWindow::RGWindow() may g_free() an unallocated po


From: Anthony Fok
Subject: Re: [Synaptic-devel] RGWindow::RGWindow() may g_free() an unallocated pointer
Date: Tue, 21 Jan 2003 09:59:05 +0800
User-agent: Mutt/1.5.3i

On Mon, Jan 20, 2003 at 02:30:32PM +0300, Sviatoslav Sviridov wrote:
> I have the same problem.
> I've tried fix this by moving definition of filename and gfree(filename)
> inside block where it used.
> I had segfault on the last gfree call which was out of block where
> filename was used.

I like your patch better than mine, because you did both the moving and the
initializaion, so it is safer.  Please do apply your patch when you have
time.  Many thanks!  :-)

-- 
Anthony Fok Tung-Ling
ThizLinux Laboratory   <address@hidden> http://www.thizlinux.com/
Debian Chinese Project <address@hidden>       http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp!           http://www.olvc.ab.ca/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]