changeset 542:09d926b89bfb

fix SimpleVector copy constructor
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 10 Nov 2008 19:35:07 +0100
parents dfb053254455
children 74c07ade1edc
files lout/misc.hh
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lout/misc.hh	Mon Nov 10 17:56:28 2008 +0100
+++ b/lout/misc.hh	Mon Nov 10 19:35:07 2008 +0100
@@ -113,6 +113,7 @@
    }
 
    inline SimpleVector (const SimpleVector &o) {
+      this->array = NULL;
       this->num = o.num;
       this->numAlloc = o.numAlloc;
       resize ();