summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrandon Philips <brandon@ifup.org>2009-12-17 17:15:57 -0800
committerBrandon Philips <brandon@ifup.org>2009-12-17 17:22:09 -0800
commit972b42a67393f762936e74d3ce929914181f5f28 (patch)
treefcf5ccee8cfe53efebdce4bb6646710ce34c51b0 /include
parent9d115d7fa254a1e40755993fa4569b8f42829211 (diff)
downloadattr-972b42a67393f762936e74d3ce929914181f5f28.tar.gz
libattr: fix memory leak in attr_copy_action()
stanse found that attr_copy_action returns before freeing the memory allocated for text. Move fopen() above the malloc so this is not a problem. Fixes this bug: https://bugzilla.novell.com/show_bug.cgi?id=564735 Signed-off-by: Brandon Philips <bphilips@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions