From: Andreas Henriksson Date: Tue, 16 Sep 2014 19:11:02 +0000 (+0200) Subject: core: fix resource leak in manager_environment_add X-Git-Tag: v217~552 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=aa9f8a30fd7dc7aa3aa2575b75b3f9a0ab3f02db;hp=aa9f8a30fd7dc7aa3aa2575b75b3f9a0ab3f02db;p=elogind.git core: fix resource leak in manager_environment_add Second error path must free the (potentially) allocated memory in the first code chunk before returning. Found by coverity. Fixes: CID#1237750 ---