pseudo: fix memory leak and missed privilege drop
authorPeter A. Bigot <pab@pabigot.com>
Mon, 26 Aug 2013 00:40:06 +0000 (19:40 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2013 22:03:20 +0000 (23:03 +0100)
commitc20260e79fdf1f4b552d7480fde6e7fa5d858275
tree36aa8faf9d3a08cdb7bb102ff1b6c2b0b1590ff4
parent31fece937bb3b5f76490adc4dac7eae391f5761a
pseudo: fix memory leak and missed privilege drop

qemu.bbclass adds PSEUDO_UNLOAD=1 in qemu_run_binary to avoid reference to
pseudo functions that may not exist in the target environment.  This patch
detects the addition of that variable within the environment to which the
call applies, even if not present in the parent environment.

As a side effect it fixes a memory leak.

[YOCTO #4843]

(From OE-Core rev: 9ea32ef507c914f906b3dcc0bb29813a4e0dacba)

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/pseudo/files/0001-pseudo_has_unload-add-function.patch [new file with mode: 0644]
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb