diff --git a/src/Account.c b/src/Account.c index 55f0e0bd82..f1839f111f 100644 --- a/src/Account.c +++ b/src/Account.c @@ -237,6 +237,8 @@ removeTransaction( Account *acc, int num ) if (((Account *)trans->credit) == acc) trans->credit = NULL; if (((Account *)trans->debit) == acc) trans->debit = NULL; + /* hack alert -- we should alos remove splits from accounts */ + return trans; }