diff --git a/src/branch2.cpp b/src/branch2.cpp index 33751098..28616210 100644 --- a/src/branch2.cpp +++ b/src/branch2.cpp @@ -29,5 +29,6 @@ Branch2::Branch2(toml::value const &v_) Branch2::~Branch2() { - + if(fd >= 0) + close(fd); }