mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Don't unprotect #f. Crashes scheme when run under gdb.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7397 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
fdecf1a9fb
commit
2305d0823d
@ -648,7 +648,8 @@ gnc_report_window_load_cb(gnc_html * html, URLType type,
|
||||
win->cur_odb = NULL;
|
||||
}
|
||||
|
||||
scm_unprotect_object(win->cur_report);
|
||||
if(win->cur_report != SCM_BOOL_F)
|
||||
scm_unprotect_object(win->cur_report);
|
||||
win->cur_report = inst_report;
|
||||
scm_protect_object(win->cur_report);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user