Skip to content

Commit

Permalink
Backport 82e16ba248a97e3446d5b2d64c353b61dd6bdda6
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Feb 12, 2025
1 parent 63a800d commit 2e25801
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/hotspot/share/logging/logOutput.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -354,7 +354,9 @@ bool LogOutput::parse_options(const char* options, outputStream* errstream) {
}
break;
}
pos = comma_pos + 1;
if (comma_pos != nullptr) {
pos = comma_pos + 1;
}
} while (comma_pos != nullptr);

os::free(opts);
Expand Down

0 comments on commit 2e25801

Please sign in to comment.