summaryrefslogtreecommitdiffstats
path: root/src/python/setup.py
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2013-10-08 17:49:32 +0200
committerTomas Bzatek <tbzatek@redhat.com>2013-10-09 12:25:09 +0200
commit703ebe4493b59397f30bc2ee124c0d9c76be57f5 (patch)
treeb2783de32c5ad5d6d56d98742910644067a1e0fa /src/python/setup.py
parentafa5462903c7b2390f1539bee7b87a4ca6954db4 (diff)
parse_config: Don't reuse already initialized GError struct
Setting an error on top of an existing error is considered a programmer's bug, possibly leaking memory. So do proper cleanup before reusing that variable. Also, errors set while retrieving keys and values are not checked anywhere so let's just don't set them. Returned NULL values in case of error should be enough to skip the particular value.
Diffstat (limited to 'src/python/setup.py')
0 files changed, 0 insertions, 0 deletions