Skip to content

Commit

Permalink
fixed memory leak in zonotope
Browse files Browse the repository at this point in the history
  • Loading branch information
Gagandeep Singh committed Sep 17, 2018
1 parent 1888bd3 commit 7a2def1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elina_zonotope/zonotope_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@ static inline void zonotope_aff_free(zonotope_internal_t *pr, zonotope_aff_t *a)
a->q = NULL;
a->end = NULL;
a->l = (uint_t)0;
//elina_interval_free(a->itv);
elina_interval_free(a->itv);
a->itv= NULL;
free(a);
a = NULL;
}
Expand Down

0 comments on commit 7a2def1

Please sign in to comment.