Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#2 closed enhancement (fixed)

Memory leak: Check for "free; free;"

Reported by: hyd_danmar Owned by: hyd_danmar
Priority: normal Milestone: 1.28
Component: New check Version:
Keywords: Cc: sigra

Description (last modified by hyd_danmar)

Check for code such as:

void foo()
{
    char *p = malloc(100);
    free(p);
    free(p);
}

Change History (4)

comment:1 by hyd_danmar, 18 years ago

Description: modified (diff)
Owner: changed from noone to hyd_danmar
Status: newaccepted

comment:2 by hyd_danmar, 18 years ago

Resolution: fixed
Status: acceptedclosed

comment:3 by hyd_danmar, 18 years ago

Priority: majornormal

comment:4 by sigra, 17 years ago

Cc: sigra added
Note: See TracTickets for help on using tickets.