Fix leaks in bus_activation_get_environment error paths
authorRay Strode <rstrode@redhat.com>
Tue, 15 Jul 2008 08:01:49 +0000 (04:01 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 15 Jul 2008 08:01:49 +0000 (04:01 -0400)
commit3bc6840b04108d895ec3962ed5933bb0edb20cf4
tree39960ffc7e11507a20be0dff0ba67f341e27bdc9
parent01e50bcd5d06c3ffdf6a78036d7b1ea8f9ad0762
Fix leaks in bus_activation_get_environment error paths

Commit 91306ef938873fce8f2ae2d4a6b3282d0379c65a introduced
two memory leaks on OOM error paths.  In one case the
environment string array wasn't getting freed, and in the
other case it was getting freed with dbus_free instead of
dbus_free_string_array.
bus/activation.c