diff options
Diffstat (limited to 'src/debugger.c')
-rw-r--r-- | src/debugger.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debugger.c b/src/debugger.c index cdf6caa..808c962 100644 --- a/src/debugger.c +++ b/src/debugger.c @@ -262,6 +262,9 @@ void open_debugger(struct frame *fr) { struct debugwindow *dbgw; GtkWidget *scroll; + + if ( fr == NULL ) return; + dbgw = calloc(1, sizeof(struct debugwindow)); if ( dbgw == NULL ) return; |