Skip to content

Commit

Permalink
Push a use-after-free to test if CodeQL actually checks the code
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBriza committed Nov 17, 2023
1 parent 77842ae commit 1e15b30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/Lith/Core/lith.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ Lith::Lith(QObject* parent)
if (!showDebugWindowEnv.isEmpty() && showDebugWindowEnv != "0") {
showDebugWindowSet(true);
}
delete m_weechat;
connect(m_notificationHandler, &NotificationHandler::bufferSelected, this, [this](int bufferNumber) {
selectBufferNumber(bufferNumber);
});
Expand Down

0 comments on commit 1e15b30

Please sign in to comment.