From: cristy Date: Sun, 18 Sep 2011 02:03:06 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6990 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2ce476a3c34850ac17126b48d3a8bf620ddc3c0;p=imagemagick --- diff --git a/MagickCore/xwindow.c b/MagickCore/xwindow.c index 395022cb6..5347d0eec 100644 --- a/MagickCore/xwindow.c +++ b/MagickCore/xwindow.c @@ -389,10 +389,6 @@ MagickExport void DestroyXResources(void) } if (windows->class_hints != (XClassHint *) NULL) { - if (windows->class_hints->res_name != (char *) NULL) - XFree(windows->class_hints->res_name); - if (windows->class_hints->res_class != (char *) NULL) - XFree(windows->class_hints->res_class); XFree(windows->class_hints); windows->class_hints=(XClassHint *) NULL; }