diff options
Diffstat (limited to 'source/blender/src/buttons_script.c')
-rw-r--r-- | source/blender/src/buttons_script.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/buttons_script.c b/source/blender/src/buttons_script.c index adb32bee9c0..7b2057bed30 100644 --- a/source/blender/src/buttons_script.c +++ b/source/blender/src/buttons_script.c @@ -195,6 +195,8 @@ static void scriptlinks_pupmenu(ScriptLink *slink) short menuitem; char *menustr = scriptlinks_menu_string(); + if (!slink) return; + if (menustr) { menuitem = pupmenu_col(menustr, 20); MEM_freeN(menustr); |