help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] memory not released?


From: Michael Chen
Subject: [Help-glpk] memory not released?
Date: Fri, 12 Aug 2011 23:37:03 -0400

Dear there,

I used glp_create_job() at beginning and glp_delete_job() at end. However, I still get the following warning from valgrind:

==26789== 160 bytes in 1 blocks are still reachable in loss record 1 of 3
==26789==    at 0x4A05E1C: malloc (vg_replace_malloc.c:195)
==26789==    by 0x422949: glp_init_env (glpenv01.c:62)
==26789==    by 0x422AA4: _glp_get_env_ptr (glpenv01.c:127)
==26789==    by 0x4231C0: glp_malloc (glpenv05.c:57)
==26789==    by 0x41AF2A: glp_create_prob (glpapi01.c:104)
==26789==    by 0x4144EF: glpkmps (in /home/chensy/working/sppm/src_c/SamplingForTargetCompletionProblemUmbrella/SamplingForTargetCompletionProblemVV2)
==26789==    by 0x40220D: main (SamplingForTargetCompletionProblemVV2.c:248)
==26789==

Does this mean there is a memory leak in glpk implementation? Or I misread the output from valgrind?

Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]