]> sourceware.org Git - lvm2.git/commit
Fix allocation bug in text metadata format write error path.
authorMilan Broz <mbroz@redhat.com>
Sat, 16 Aug 2008 09:46:55 +0000 (09:46 +0000)
committerMilan Broz <mbroz@redhat.com>
Sat, 16 Aug 2008 09:46:55 +0000 (09:46 +0000)
commita4a1cd76ba9bdf55a1adea9f382c58d3bb657395
treedef911f7d7ad1ea682ab3a9ceb9e85cfc4ee48df
parentf88fd44680973c49e8721da840eb39486bb78676
Fix allocation bug in text metadata format write error path.

Function _text_pv_write doesn't use memory pool but static buffer,
call dm_pool_free in error path in _raw_write_mda_header is wrong.

Move pool free only to path where is the memory pool used.
WHATS_NEW
lib/format_text/format-text.c
This page took 0.036686 seconds and 5 git commands to generate.