Skip to content

Commit

Permalink
tm: reset the tm cell content during free
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Oct 2, 2018
1 parent dd9615e commit fe19995
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 fe19995

Please sign in to comment.