Skip to content

Commit

Permalink
fixing leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Dejan Jovanovic committed May 22, 2016
1 parent f40aa33 commit cb359d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/polynomial/factorization.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ int coefficient_factor_square_free_special(const lp_polynomial_context_t* ctx, c
if (!coefficient_is_one(ctx, &C_pp)) {
coefficient_factors_add(ctx, factors, &C_pp, 1);
}
coefficient_destruct(&C_pp);
coefficient_destruct(&C_cont);
return 1;
}
return 0;
Expand Down

0 comments on commit cb359d9

Please sign in to comment.