Re: Memory Leak

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

 



2009/3/8 Gordan Bobic <gordan@xxxxxxxxxx>:
> I've been looking through the source code, trying to track down that big
> memory leak. Can somebody tell me where the node calloc() on line 1713 in
> y.tab.c (2.0.0rc2) gets free()-ed? I can see that node gets assigned to
> tree, and then in section_end, there is tree = NULL. Am I missing the
> cleanup happening somewhere else?

It isn't free'd, but it cannot be the source of the 'big' memory leak.
y.tab.c is for the parsing of the spec file, which happens only once,
and the calloc's are fairly small.

Vikas
-- 
Engineer - Z Research
http://gluster.com/




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux