Skip to content

Commit

Permalink
Fix xtypes example segfault if xml env var is not set (#5243)
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso authored Sep 19, 2024
1 parent beed4b0 commit 013c10c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/cpp/xtypes/PublisherApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ DynamicType::_ref_type PublisherApp::create_type(
{
std::cout <<
"Error getting dynamic type \"HelloWorld\"." << std::endl;
return nullptr;
}
}
else
Expand Down

0 comments on commit 013c10c

Please sign in to comment.