diff --git a/Geo/gmshFace.cpp b/Geo/gmshFace.cpp
index dec8d8a89dab7756ee4434b0149eecd38daa5f16..7b7944dd71378d936d4635b2713047c1ab7af6c3 100644
--- a/Geo/gmshFace.cpp
+++ b/Geo/gmshFace.cpp
@@ -32,6 +32,8 @@ void gmshFace::resetNativePtr(Surface *face)
   s = face;
   l_edges.clear();
   l_dirs.clear();
+  edgeLoops.clear();
+
   std::vector<GEdge*> eds;
   std::vector<int> nums;
   for(int i = 0; i < List_Nbr(s->Generatrices); i++){