1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-01 17:38:43 +01:00

Fix another error reported by Wipro, deref of possibly NULL pointer.

This commit is contained in:
v.audacity
2010-09-14 23:02:19 +00:00
parent a18981a79a
commit fb3e2dab1b

View File

@@ -241,7 +241,8 @@ void falloc_gc()
cp = NULL; cp = NULL;
} }
else { else {
lp->qnext = np; if (lp)
lp->qnext = np;
cp = lp; cp = lp;
} }
} }