MAINT-387 FIXED [PUBLIC]Possible crash in llviewermenufile/upload_done_callback
- Just moved the deletion to the inspected blockmeow-7.2.2
parent
a128836ded
commit
d356e2be0f
|
|
@ -949,11 +949,12 @@ void upload_done_callback(
|
|||
args["REASON"] = std::string(LLAssetStorage::getErrorString(result));
|
||||
LLNotificationsUtil::add("CannotUploadReason", args);
|
||||
}
|
||||
|
||||
delete data;
|
||||
data = NULL;
|
||||
}
|
||||
|
||||
LLUploadDialog::modalUploadFinished();
|
||||
delete data;
|
||||
data = NULL;
|
||||
|
||||
// *NOTE: This is a pretty big hack. What this does is check the
|
||||
// file picker if there are any more pending uploads. If so,
|
||||
|
|
|
|||
Loading…
Reference in New Issue