Commit 7374b8e4 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Set the velociraptor i/o data pointer to NULL when freeing the pointer.

parent 490a2d27
......@@ -3260,6 +3260,7 @@ void engine_check_for_dumps(struct engine *e) {
if (with_stf && e->snapshot_invoke_stf) {
#ifdef HAVE_VELOCIRAPTOR
free(e->s->gpart_group_data);
e->s->gpart_group_data = NULL;
#endif
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment