X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fmul.cpp;h=8eef91763736fe0a759a699a8d0d4670c7b99a84;hp=de5d03c03cf3a8d9fd08bb53c0c365a3334248cd;hb=e13c691c25abd739163d30de5e6d038977683690;hpb=539de73dc25de63f2888f8696d73ac3fc83db45f 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);