From: Cristy Date: Mon, 2 Oct 2017 01:00:52 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.7-6~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eeb347c5c2ee7ffe56ab6f2c4074382997b0c88f;p=imagemagick ... --- diff --git a/MagickCore/widget.c b/MagickCore/widget.c index 93e5a2189..27180b829 100644 --- a/MagickCore/widget.c +++ b/MagickCore/widget.c @@ -4963,6 +4963,8 @@ MagickPrivate void XFileBrowserWidget(Display *display,XWindows *windows, exception=AcquireExceptionInfo(); formats=GetMagickList("*",&number_formats,exception); exception=DestroyExceptionInfo(exception); + if (formats == (char **) NULL) + break; (void) XCheckDefineCursor(display,windows->widget.id, windows->widget.busy_cursor); windows->popup.x=windows->widget.x+60;