From 8da950d7401035d2bef139765b7b5be91a0114ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Wed, 22 Mar 2017 15:32:44 +0100 Subject: [PATCH] [apps] Prevent duplicating functions to avoid crashing at exit (when function stores are deleted) Change-Id: Ia0efb528f02efaaba87eccd48385163b48593387 --- apps/graph/cartesian_function_store.cpp | 1 + apps/sequence/sequence_store.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/graph/cartesian_function_store.cpp b/apps/graph/cartesian_function_store.cpp index 917efcdb8..46a2cfc07 100644 --- a/apps/graph/cartesian_function_store.cpp +++ b/apps/graph/cartesian_function_store.cpp @@ -57,6 +57,7 @@ void CartesianFunctionStore::removeFunction(Shared::Function * f) { for (int j = i; j