We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6f4a40 commit 59b9c40Copy full SHA for 59b9c40
1 file changed
sources/dollar.c
@@ -3556,8 +3556,9 @@ void CleanDollarFactors(DOLLARS d)
3556
int i;
3557
if ( d->nfactors >= 1 ) {
3558
for ( i = 0; i < d->nfactors; i++ ) {
3559
- if ( d->factors[i].where )
3560
- M_free(d->factors[i].where,"dollar factors");
+ if ( d->factors )
+ if ( d->factors[i].where )
3561
+ M_free(d->factors[i].where,"dollar factors");
3562
}
3563
3564
if ( d->factors ) {
0 commit comments