From bc28c440191aca2aa19daf633c4773751810165c Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 13 Jun 1994 20:56:30 +0000 Subject: [PATCH] (single_keymap_panes): gcpro some things. --- src/xmenu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xmenu.c b/src/xmenu.c index d9ab9739247..da2ca544931 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -490,7 +490,9 @@ single_keymap_panes (keymap, pane_name, prefix, notreal) else { Lisp_Object submap; + GCPRO4 (keymap, pending_maps, descrip, item_string); submap = get_keymap_1 (def, 0, 1); + UNGCPRO; #ifndef USE_X_TOOLKIT /* Indicate visually that this is a submenu. */ if (!NILP (submap)) @@ -555,7 +557,9 @@ single_keymap_panes (keymap, pane_name, prefix, notreal) else { Lisp_Object submap; + GCPRO4 (keymap, pending_maps, descrip, item_string); submap = get_keymap_1 (def, 0, 1); + UNGCPRO; #ifndef USE_X_TOOLKIT if (!NILP (submap)) item_string = concat2 (item_string, -- 2.39.5