diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkbltGrMarkerLine.C | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkbltGrMarkerLine.C b/generic/tkbltGrMarkerLine.C index 30ef70e..954d4dc 100644 --- a/generic/tkbltGrMarkerLine.C +++ b/generic/tkbltGrMarkerLine.C @@ -152,8 +152,10 @@ void LineMarker::map() LineMarkerOptions* ops = (LineMarkerOptions*)ops_; nSegments_ = 0; - if (segments_) + if (segments_) { delete [] segments_; + segments_ = NULL; + } if (!ops->worldPts || (ops->worldPts->num < 2)) return; |