Skip to content
Snippets Groups Projects
Commit 0ad5c75a authored by Julien Signoles's avatar Julien Signoles
Browse files

Merge branch 'bugfix/basile/eacsl-fix-deallocation-tracking' into 'master'

[eacsl:runtime] Fix tracking of deallocation

See merge request frama-c/frama-c!2749
parents 278628ac b0d825a4
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,8 @@
Plugin E-ACSL <next-release>
############################
-* E-ACSL [2020-07-09] Decrease the number of allocated blocks when one
block is freed.
- E-ACSL [2020-06-19] Add support of bitwise operators for C integers.
(frama-c/e-acsl#33)
- E-ACSL [2020-06-19] Add support to create GMP rational from GMP
......
......@@ -979,7 +979,7 @@ static void unset_heap_segment(void *ptr, int init, const char *function) {
/* Nullify shadow block */
memset(base_shadow, ZERO, alloc_size);
/* Adjust tracked allocation size */
heap_allocation_size -= length;
update_heap_allocation(-length);
#ifdef E_ACSL_TEMPORAL /*{{{*/
/* Nullify temporal shadow */
uintptr_t *t_base_shadow = (uintptr_t*)TEMPORAL_HEAP_SHADOW(ptr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment