mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
fix core dump
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@872 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
82fe8e3c74
commit
e46712d8d1
@ -327,7 +327,7 @@ char * xaccReadQIFAccList (int fd, AccountGroup *grp, int cat)
|
||||
} else {
|
||||
qifline = xaccReadQIFAccount (fd, acc);
|
||||
}
|
||||
if ('!' == qifline [0]) break;
|
||||
if (qifline && ('!' == qifline [0])) break;
|
||||
|
||||
/* free up malloced data if unknown account type */
|
||||
if (-1 == xaccAccountGetType (acc)) {
|
||||
|
Loading…
Reference in New Issue
Block a user