Skip to content

Commit

Permalink
[driver/opc] - fixed issue where we weren't de-allocating a dynamical…
Browse files Browse the repository at this point in the history
…ly allocated struct
  • Loading branch information
Lham42 committed Jul 18, 2024
1 parent 2f4b28a commit c01c554
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions driver/opc/scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ void Scanner::scan(const task::Command &cmd) const {
.variant = "success",
.details = DeviceProperties(args.connection, *scan_ctx->channels).toJSON(),
});
delete scan_ctx;
}

void Scanner::testConnection(const task::Command &cmd) const {
Expand Down
2 changes: 1 addition & 1 deletion synnax/pkg/version/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.25.1
0.25.2

0 comments on commit c01c554

Please sign in to comment.