From b6345b5983ed33f93b1c9e9adb9cc09ac88ae309 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 28 Feb 2017 10:24:15 +0000
Subject: [PATCH] missing reset of l_faces and l_dirs

---
 Geo/gmshRegion.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Geo/gmshRegion.cpp b/Geo/gmshRegion.cpp
index 890654c441..b80f1caa5f 100644
--- a/Geo/gmshRegion.cpp
+++ b/Geo/gmshRegion.cpp
@@ -19,6 +19,8 @@ gmshRegion::gmshRegion(GModel *m, ::Volume *volume)
 void gmshRegion::resetNativePtr(::Volume *volume)
 {
   v = volume;
+  l_faces.clear();
+  l_dirs.clear();
   for(int i = 0; i < List_Nbr(v->Surfaces); i++){
     Surface *s;
     List_Read(v->Surfaces, i, &s);
-- 
GitLab