aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2005-10-27 06:11:15 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2005-10-27 06:11:15 (GMT)
commita7bcd316fbd21ccfd5d7c2613b9c87c0286d4646 (patch)
tree8979747bf5f16bce42ae2b7730c8858221e47f27 /debian
parent260e1549d7b2ae2072b6c2e2d0ced6e4f1802719 (diff)
downloadpowwow-a7bcd316fbd21ccfd5d7c2613b9c87c0286d4646.zip
powwow-a7bcd316fbd21ccfd5d7c2613b9c87c0286d4646.tar.gz
powwow-a7bcd316fbd21ccfd5d7c2613b9c87c0286d4646.tar.bz2
This fixes a tiny memory leak caused by not freeing the copy
of a variable if used in a comparison on the left side, valgrind output: ==10477== 10 bytes in 1 blocks are definitely lost in loss record 3 of 45 ==10477== at 0x1B90459D: malloc (vg_replace_malloc.c:130) ==10477== by 0x806B08A: ptrdup2 (ptr.c:65) ==10477== by 0x806B121: ptrdup (ptr.c:80) ==10477== by 0x805C503: exe_op (eval.c:675) ==10477== by 0x805DDCF: compare_and_unload (eval.c:1279) ==10477== by 0x805DFBA: _eval (eval.c:1322) ==10477== by 0x805E0D4: eval_any (eval.c:1362) ==10477== by 0x805E43C: evall (eval.c:1446) ==10477== by 0x8052514: cmd_if (cmd.c:1884) ==10477== by 0x806536E: parse_commands (main.c:1769) ==10477== by 0x8065119: parse_instruction (main.c:1709) ==10477== by 0x806525F: parse_user_input (main.c:1735) test file: #( "Don't save the config file every time" ) #file = #if ($foo > "ho" ) #print Dwarves #if ($foo > "ho" ) #print Dwarves #if ($foo > "ho" ) #print Dwarves
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions