Re: [PATCH weston] weston-launch: Only pass non-NULL value into setenv()

2013-08-12 Thread Kristian Høgsberg
On Fri, Aug 09, 2013 at 11:30:38AM +0100, Rob Bradford wrote: > From: Rob Bradford > > getenv() can return NULL is the key is not set, passing NULL into > setenv() is an error Thanks, good catch. Kristian > --- > src/weston-launch.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >

[PATCH weston] weston-launch: Only pass non-NULL value into setenv()

2013-08-09 Thread Rob Bradford
From: Rob Bradford getenv() can return NULL is the key is not set, passing NULL into setenv() is an error --- src/weston-launch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/weston-launch.c b/src/weston-launch.c index 5b03094..7264f7e 100644 --- a/src/weston-launch.