chiark / gitweb /
core: fix resource leak in manager_environment_add
authorAndreas Henriksson <andreas@fatal.se>
Tue, 16 Sep 2014 19:11:02 +0000 (21:11 +0200)
committerDaniel Mack <daniel@zonque.org>
Tue, 16 Sep 2014 19:47:24 +0000 (21:47 +0200)
Second error path must free the (potentially) allocated memory in the
first code chunk before returning.

Found by coverity. Fixes: CID#1237750


No differences found