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

[GEMPAK #BRA-222690]: dcgrib2 memory leak



> On Mon, 5 Nov 2007, Unidata GEMPAK Support wrote:
> 
> > I have tracked down the memory leak related to the bit masked grids such
> > as the NCWD grid. The problem was a missing static declaration for the 
> > pointer and size
> > so that each time the bit mask was realloc'd, it was creating a new block.
> >
> > I have a source code fix, or can post a binary of just the dcgrib2
> > decoder for the 5.10.4 distribution, whichever you would like.
> 
> Thanks for the followup!  The source code fix would be fine.
> 
> daryl
> 
> 


Daryl,

I've attached the updated file $NAWIPS/unidata/ldmbridge/dcgrib2/dcsubgrid.

A simple cd to that directory and "make clean all install clean" should be
all you need.

Steve Chiswell
Unidata User Support

Ticket Details
===================
Ticket ID: BRA-222690
Department: Support GEMPAK
Priority: Normal
Status: Closed

Attachment: dcsubgrid.c
Description: Binary data