Split test other

This commit is contained in:
John Ralls
2023-10-27 14:07:57 -07:00
parent b9b7a9e009
commit fa119f8d17

View File

@@ -725,7 +725,8 @@ xaccFreeSplit (Split *split)
{
Split *other = xaccSplitGetOtherSplit(split->gains_split);
split->gains_split->gains_split = NULL;
other->gains_split = NULL;
if (other)
other->gains_split = NULL;
}
g_object_unref(split);