Skip to content

Commit

Permalink
(#301) избавился от утечек памяти
Browse files Browse the repository at this point in the history
  • Loading branch information
dak151449 committed Jan 2, 2024
1 parent 8eb4fb9 commit 3483055
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/Objects/src/Regex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ bool Regex::partial_derivative_with_respect_to_sym(Regex* respected_sym, const R
if (r == nullptr)
return answer;
result.push_back(*r);
delete r;
}

return answer;
Expand Down

0 comments on commit 3483055

Please sign in to comment.