Skip to content

Commit 515b518

Browse files
authored
Merge pull request #185 from francescomessina/fix_bug_polycubed_core
polycubed_core: initializes the cubes_dump_ variable to null
2 parents e20fc1a + c7f3317 commit 515b518

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/polycubed/src/polycubed_core.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ namespace polycube {
3535
namespace polycubed {
3636

3737
PolycubedCore::PolycubedCore(BaseModel *base_model)
38-
: base_model_(base_model), logger(spdlog::get("polycubed")) {}
38+
: base_model_(base_model), logger(spdlog::get("polycubed")),
39+
cubes_dump_(nullptr) {}
3940

4041
PolycubedCore::~PolycubedCore() {
4142
servicectrls_map_.clear();

0 commit comments

Comments
 (0)