Re: [PATCH] shell: Fix 2 switcher crashes.

2012-03-20 Thread Kristian Hoegsberg
On Mon, Mar 12, 2012 at 04:06:01PM +0800, zhiwen...@linux.intel.com wrote: > From: Alex Wu > > In case of no regular window, switcher will crash in switch_next() > due to "next == NULL" and in switcher_destroy() due to > "switcher->current == NULL". Thanks, applied. Kristian > --- > src/shell.

[PATCH] shell: Fix 2 switcher crashes.

2012-03-12 Thread zhiwen . wu
From: Alex Wu In case of no regular window, switcher will crash in switch_next() due to "next == NULL" and in switcher_destroy() due to "switcher->current == NULL". --- src/shell.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/shell.c b/src/shell.c index 765b0