summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2010-02-24 09:48:36 -0700
committerRich Megginson <rmeggins@redhat.com>2010-02-24 11:09:07 -0700
commit43894ffddf76baa4824c93d702ad4712e82b5b4e (patch)
treed2fa795013e3fe0167d0e632173d4ec7fb6df90b /Makefile.am
parentc0fd0171fed64b026bc80bad872b6641a0c4d86f (diff)
downloadds-43894ffddf76baa4824c93d702ad4712e82b5b4e.tar.gz
ds-43894ffddf76baa4824c93d702ad4712e82b5b4e.tar.xz
ds-43894ffddf76baa4824c93d702ad4712e82b5b4e.zip
fix memory leak in attr replace when replacement fails
if replacement of the attribute values fails (e.g. due to duplicate values) the valstoreplace is not freed - the caller expects the valueset_replace function to own the values passed in. The function will now free the values if there was an error In addition, valueset_replace should not free the old values in case of error - it should leave the old values in the attribute Reviewed by: nhosoi (Thanks!)
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions