]> code.ossystems Code Review - openembedded-core.git/commit
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 11:08:05 +0000 (12:08 +0100)
commit9ea32ef507c914f906b3dcc0bb29813a4e0dacba
treefc513f220592b7eaac7f4b1d1d74dcd706255bf9
parent57483db524cdf7c42af48bbaee163f5396294ac0
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]

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