]> sourceware.org Git - lvm2.git/commit
Fix memory leak in error path
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 29 Nov 2010 12:19:58 +0000 (12:19 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 29 Nov 2010 12:19:58 +0000 (12:19 +0000)
commit21ba805499896ef88bc6670d478abb3e86c39183
tree1be2d0e26707c252d8addd2d61212a097629b166
parent693ec4b404b012a5fbdc7e974387d2720f9ed924
Fix memory leak in error path

Nicely hidden memory leak in outf macro error path.
This macro is using out_text() and does automagical return_0.
That would leak tag_buffer allocated memory.

As there was same code for tags output - create _out_tags() function.
WHATS_NEW
lib/format_text/export.c
This page took 0.039171 seconds and 5 git commands to generate.