Commit d14bd6f0 authored by Vincent Pinon's avatar Vincent Pinon

Fix use after free

CID 1323739
parent 3b7c79fc
......@@ -2238,8 +2238,6 @@ void Bin::slotLoadClipMarkers(const QString &id)
if (!markersList.isEmpty()) slotAddClipMarker(id, markersList, command);
if (command->childCount() > 0) m_doc->commandStack()->push(command);
else delete command;
void Bin::slotSaveClipMarkers(const QString &id)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment