summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-24 10:35:10 +0200
committerNoel Grandin <noel@peralex.com>2015-02-24 10:36:51 +0200
commit9473ba24698ab5b98a72b38c3a38f7cddd45411e (patch)
treebb1da9ea8a4903d42345852959e28fb36547058f /basic
parent44009b9a9d09c2574b4740881a848556eea2859d (diff)
fix marking of free slots in array
Change-Id: I5170b9bbc4a3acab8307f7ad5ebc5e4ba9d58352
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/ddectrl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/basic/source/runtime/ddectrl.cxx b/basic/source/runtime/ddectrl.cxx
index 56603d139c9e..3e9cb9fb7b4d 100644
--- a/basic/source/runtime/ddectrl.cxx
+++ b/basic/source/runtime/ddectrl.cxx
@@ -133,6 +133,7 @@ SbError SbiDdeControl::Terminate( size_t nChannel )
return SbERR_DDE_NO_CHANNEL;
}
delete pConv;
+ aConvList[nChannel-1] = DDE_FREECHANNEL;
return 0L;
}