[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-dev
Subject:    [Gpsd-dev] Re: [PATCH] Fix memleak in client library
From:       esr () thyrsus ! com (Eric S !  Raymond)
Date:       2005-01-13 1:45:33
Message-ID: 20050113014533.GA7117 () thyrsus ! com
[Download RAW message or body]

Petter Reinholdtsen <pere@hungry.com>:
> Notice how gpsdata->gps_fd is used after the memory of gpsdata is
> released.  This is a bug.  The 'free()' call need to be moved after
> gps_fd is read from gpsdata.

Got it.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic