]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Fix memory leak in openvz_conf.c
authorPavel Hrdina <phrdina@redhat.com>
Mon, 13 Jan 2014 13:33:15 +0000 (14:33 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 15 Jan 2014 10:11:34 +0000 (11:11 +0100)
commit7ed02a0003f3518cdecaf0b34b7622451d6629f3
tree5215f8e16d08055c778c16641b6e8a44eb1f5dc3
parentba906a3d580f0e7a136a847f7733266100a06d44
Fix memory leak in openvz_conf.c

If there is no error while executing a function "openvzParseBarrierLimit"
a "str" string where is duplicate of a "value" string isn't freed and it
leads into memory leak.

This has been found by coverity.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/openvz/openvz_conf.c