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:
@@ -330,6 +330,9 @@ bool LabelDialog::TransferDataFromWindow()
|
||||
break;
|
||||
}
|
||||
}
|
||||
wxASSERT(t);
|
||||
if (!t)
|
||||
return false;
|
||||
|
||||
// Add the label to it
|
||||
if (!rd->title.IsEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user