logind: fix possible memleak of message if the message was already in the set
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 5 Jun 2020 12:07:44 +0000 (14:07 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 24 Jun 2020 08:38:15 +0000 (10:38 +0200)
commit648c339c49398e9f1961399a672759ee2c7a9758
tree482a055988c7357fe132dc59a8ab34422f53a0b0
parentd378ef708b123b5da9ce2a52ea9e8a838f63bddb
logind: fix possible memleak of message if the message was already in the set

I'm not sure if it is actually possible to encounter this condition. But
let's make the handling correct regardless.
src/login/logind-brightness.c