Commit d06028a1 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Dont leak ->class.

Spotted by:	fgs
parent bdd70290
......@@ -214,6 +214,7 @@ vsmw_delseg(struct vsmw *vsmw, struct vsmwseg *seg, int fixidx)
VTAILQ_REMOVE(&vsmw->segs, seg, list);
AZ(unlinkat(vsmw->vdirfd, seg->fn, 0));
REPLACE(seg->fn, NULL);
REPLACE(seg->class, NULL);
REPLACE(seg->id, NULL);
FREE_OBJ(seg);
......
Markdown is supported
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