Skip to content

Commit

Permalink
Fix drag/drop memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
vanjac committed Sep 24, 2023
1 parent 4aaf2d7 commit 834b821
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/viewport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,7 @@ void ViewportWindow::onDropFiles(HWND, HDROP drop) {
g_mainWindow.pushUndo(std::move(newState));
}
}
DragFinish(drop);
} catch (winged_error err) {
g_mainWindow.showError(err);
}
Expand Down

0 comments on commit 834b821

Please sign in to comment.