Skip to content

Commit de8ed1b

Browse files
Fix example of writer loans (#946) (#1048)
Signed-off-by: Miguel Company <[email protected]> (cherry picked from commit c440452) Co-authored-by: Miguel Company <[email protected]>
1 parent f2d8e92 commit de8ed1b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

code/DDSCodeTester.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3129,10 +3129,6 @@ void dds_dataWriter_examples()
31293129
return;
31303130
}
31313131
}
3132-
3133-
// The data instance can be reused to publish new values,
3134-
// but delete it at the end to avoid leaks
3135-
custom_type_support->delete_data(data);
31363132
//!--
31373133
}
31383134

0 commit comments

Comments
 (0)