Lines Matching refs:lv
4 Subject: [PATCH] disk/ldm: Fix memory leak on uninserted lv references
6 The problem here is that the memory allocated to the variable lv is not
9 As we can already see at line 342, which correctly frees lv before going
26 lv->visible = 1;
27 lv->segments = grub_zalloc (sizeof (*lv->segments));
28 if (!lv->segments)
31 + grub_free (lv);
34 lv->segments->start_extent = 0;
35 lv->segments->type = GRUB_DISKFILTER_MIRROR;
36 lv->segments->node_count = 0;
38 lv->segments->nodes = grub_calloc (lv->segments->node_alloc,
39 sizeof (*lv->segments->nodes));
40 if (!lv->segments->nodes)
43 + grub_free (lv);