Commit 9a6e04e5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(xmenu_show): Don't call XMenuDestroy twice in XM_FAILURE case.

parent e8bb4528
......@@ -2251,7 +2251,6 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error)
break;
case XM_FAILURE:
XMenuDestroy (XDISPLAY menu);
*error = "Can't activate menu";
case XM_IA_SELECT:
case XM_NO_SELECT:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment