1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-05 19:21:59 +01:00

Fix null pointer dereferences caught by Vigilant Sentry. Ask some questions about some code.

This commit is contained in:
v.audacity
2011-11-24 23:12:52 +00:00
parent 0f81cf83a8
commit f1fee888c2
4 changed files with 32 additions and 25 deletions

View File

@@ -330,6 +330,9 @@ bool LabelDialog::TransferDataFromWindow()
break;
}
}
wxASSERT(t);
if (!t)
return false;
// Add the label to it
if (!rd->title.IsEmpty()) {