Opened 11 years ago

Closed 11 years ago

#430 closed bug (fixed)

memory leak when applying if() to an element of an intmat

Reported by: steenpass Owned by: somebody
Priority: minor Milestone: 3-1-5 and higher
Component: dontKnow Version: 3-1-4
Keywords: Cc:

Description

Executing

memory(0);
memory(1);
memory(2);

intmat M;
int i;
for (i = 5000000; i > 0; i--) {
    if (M[1, 1]) {
    }
}

memory(0);
memory(1);
memory(2);

quit;

gives

157144
2223816
2223816
160166528
163713760
163713760
Auf Wiedersehen.

So there is obviously a memory leak.

Change History (1)

comment:1 Changed 11 years ago by hannes

Resolution: fixed
Status: newclosed

fixed

Note: See TracTickets for help on using tickets.