diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-31 11:23:58 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-31 13:00:57 -0500 |
commit | dabeaa460d9fa01db645116775f53e3071977503 (patch) | |
tree | 67680b2f880b45dd3e11eb8530ad91a85478d0f4 /src/libsystemd-bus | |
parent | b8265d4f8e5cb05c1dacfd3b177c993ef2611723 (diff) |
sleep-config: fix double free
Before 34a3baa4d 'sleep-config: Dereference pointer before check for NULL'
oom conditions would not be detected properly. After that commit, a double
free was performed.
Rework the whole function to be easier to understand, and also replace
strv_split_nulstr with strv_new, since we know the strings anyway.
Diffstat (limited to 'src/libsystemd-bus')
0 files changed, 0 insertions, 0 deletions