Skip to content

Commit

Permalink
tm: reset the tm cell content during free
Browse files Browse the repository at this point in the history
(cherry picked from commit fe19995)
  • Loading branch information
miconda committed Oct 2, 2018
1 parent ff91717 commit 837dc3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/tm/h_table.c
Expand Up @@ -253,6 +253,7 @@ void free_cell_helper(
xavp_destroy_list_unsafe(&dead_cell->xavps_list);
#endif

memset(dead_cell, 0, sizeof(tm_cell_t));
/* the cell's body */
shm_free_unsafe(dead_cell);

Expand Down

0 comments on commit 837dc3e

Please sign in to comment.