# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1078717577 0 # Node ID a9cfbc5ad01ed3541133ff39336d62b927dbf1e4 # Parent 078a40ba2e41786f2019a791ed6fdde6dd54db11 MDI frames have no data saved on their titlebared window handles, so check that the memory is non-NULL before trying to free the box information from the MDI frames. diff -r 078a40ba2e41 -r a9cfbc5ad01e win/dw.c --- a/win/dw.c Wed Feb 18 10:26:49 2004 +0000 +++ b/win/dw.c Mon Mar 08 03:46:17 2004 +0000 @@ -362,7 +362,7 @@ { Box *box = (Box *)thiscinfo; - if(box->count && box->items) + if(box && box->count && box->items) free(box->items); } else if(strnicmp(tmpbuf, SplitbarClassName, strlen(SplitbarClassName)+1)==0)