diff options
Diffstat (limited to 'nx-X11/lib/X11/imInt.c')
-rw-r--r-- | nx-X11/lib/X11/imInt.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nx-X11/lib/X11/imInt.c b/nx-X11/lib/X11/imInt.c index dcfb476d9..05e04dac8 100644 --- a/nx-X11/lib/X11/imInt.c +++ b/nx-X11/lib/X11/imInt.c @@ -239,14 +239,11 @@ Error4 : Xfree(im); return NULL; Error3 : - if(im->core.im_name) - Xfree(im->core.im_name); + Xfree(im->core.im_name); Error2: - if(im->core.res_class) - Xfree(im->core.res_class); + Xfree(im->core.res_class); Error1: - if(im->core.res_name) - Xfree(im->core.res_name); + Xfree(im->core.res_name); Xfree(im); return NULL; } |