]> ocean-lang.org Git - ocean/commitdiff
oceani: fix a couple of issues
authorNeilBrown <neil@brown.name>
Tue, 12 Oct 2021 10:28:47 +0000 (21:28 +1100)
committerNeilBrown <neil@brown.name>
Tue, 12 Oct 2021 10:28:47 +0000 (21:28 +1100)
1/ when a variable declared in a loop was re-initialized, we didn't free
   the old value before allocating a new one.
2/ When assigning to an out-of-bounds array index, created an rval,
   but never freed it.

Signed-off-by: NeilBrown <neil@brown.name>

No differences found