diff options
author | Jeff Darcy <jdarcy@redhat.com> | 2014-03-03 20:10:01 +0000 |
---|---|---|
committer | Jeff Darcy <jeff@wlan-196-245.bos.redhat.com> | 2014-03-05 13:18:58 -0500 |
commit | 87d68c5bbd085b081bb73c4bfd83115db8cdc308 (patch) | |
tree | 2992e14751529b03c32e06c4b277b15767742ef7 /api | |
parent | 2775959b47c15e597a7974bbafa79e0882452952 (diff) |
Fix leaks introduced by error-checking patch.
Specifically, I050003a819d2314c8fdfd111df465041c30ee6e3
As usual, the best way to make sure resources get reclaimed is to make
sure all return paths go through common cleanup code. This meant a lot
of refactoring. Besides general readability benefits, this also got rid
of the setjmp/longjmp nonsense flagged in a previous review.
Change-Id: Ic232cf342a5168bfc33f6e0a0c8f0530d88f7c5e
Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions