Skip to content

ximcp: don't leak window if XGetAtomName() fails

Alan Coopersmith requested to merge alanc/libx11:parfait into master

Found by Oracle Parfait 13.3 static analyzer:

   X Resource Leak [X-resource-leak]:
      Leaked X Resource window
        at line 306 of imDefIm.c in function '_XimPreConnectionIM'.
          window initialized at line 300 with XCreateSimpleWindow

Signed-off-by: Alan Coopersmith

Merge request reports

Loading