frontend/breakp.c, avoid segfault on/after "delete all"
This commit is contained in:
parent
6d356f439d
commit
d97e12b1ab
|
|
@ -332,7 +332,9 @@ com_delete(wordlist *wl)
|
|||
|
||||
if (wl && eq(wl->wl_word, "all")) {
|
||||
dbfree(dbs);
|
||||
ft_curckt->ci_dbs = dbs = NULL;
|
||||
dbs = NULL;
|
||||
if (ft_curckt)
|
||||
ft_curckt->ci_dbs = NULL;
|
||||
return;
|
||||
} else if (!wl) {
|
||||
if (!dbs) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue