From: Christian Bauer Date: Sat, 10 Mar 2001 04:07:15 +0000 (+0000) Subject: fixed major memory leak in mul::expand() X-Git-Tag: release_0-8-0~30 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=e13c691c25abd739163d30de5e6d038977683690;p=ginac.git fixed major memory leak in mul::expand() --- diff --git a/ginac/mul.cpp b/ginac/mul.cpp index de5d03c0..8eef9176 100644 --- a/ginac/mul.cpp +++ b/ginac/mul.cpp @@ -647,6 +647,8 @@ ex mul::expand(unsigned options) const } ++cit; } + if (expanded_seqp) + delete expanded_seqp; if (is_ex_exactly_of_type(last_expanded,add)) { add const & finaladd = ex_to_add(last_expanded);