chiark / gitweb /
logind-session: Fix invalid free in the error case
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 21 Feb 2014 16:22:42 +0000 (11:22 -0500)
committerKay Sievers <kay@vrfy.org>
Fri, 21 Feb 2014 18:50:38 +0000 (19:50 +0100)
commita0eb2a751c6f3e9c233772cd9af8e8ee1504d27a
tree6e0a6ca3f9049b1dea7be0aba25f09fbf611171d
parenta2fef7701ba2e0179ec2217fd562b7345b15735c
logind-session: Fix invalid free in the error case

utf8 needs to be initialized to NULL for the free for the early return,
otherwise we try to free invalid data.
src/login/logind-session.c