diff options
| author | Tomas Bzatek <tbzatek@redhat.com> | 2013-10-08 17:49:32 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@redhat.com> | 2013-10-09 12:25:09 +0200 |
| commit | 703ebe4493b59397f30bc2ee124c0d9c76be57f5 (patch) | |
| tree | b2783de32c5ad5d6d56d98742910644067a1e0fa /src/python/setup.py | |
| parent | afa5462903c7b2390f1539bee7b87a4ca6954db4 (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
