diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-07-09 13:02:54 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-07-09 13:02:54 +0200 |
commit | d8c64b7f90b053d7bdf8d83133d9a4cc5be788dd (patch) | |
tree | a5053440a57b350ad491f1c57fd94849d5d33c0c /test/sysv-generator-test.py | |
parent | a0f7095171f03517bb44f91c67098ddd53537b54 (diff) |
boot: fix memleaks in os-release parser
There is no guarantee that the os-release section contains each key only
once, nor any guarantee that all keys are present. Make sure we properly
free memory in both cases.
Not that it matters much, as we're short-living, anyway. But correct code
is always nicer to read..
Diffstat (limited to 'test/sysv-generator-test.py')
0 files changed, 0 insertions, 0 deletions