From 00f6740f42be3ca55fde24f7986cd78de5148341 Mon Sep 17 00:00:00 2001 From: Alejandro Huertas Herrero Date: Tue, 5 Mar 2019 09:52:51 +0100 Subject: [PATCH] B #3017: Init map if the app must be deleted (#3028) --- src/market/MarketPlaceAppPool.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/market/MarketPlaceAppPool.cc b/src/market/MarketPlaceAppPool.cc index d67e1a981e..8333e19fc2 100644 --- a/src/market/MarketPlaceAppPool.cc +++ b/src/market/MarketPlaceAppPool.cc @@ -318,6 +318,8 @@ bool MarketPlaceAppPool::test_map_check(int app_id) if ( it == map_check.end() ) { + map_check.insert(make_pair(app_id, 1)); + return false; }