Skip to content

Commit

Permalink
Refs #20815: Fix memory leak
Browse files Browse the repository at this point in the history
Signed-off-by: eduponz <eduardoponz@eprosima.com>
  • Loading branch information
EduPonz committed Jun 3, 2024
1 parent 94adf29 commit 91d1997
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/blackbox/api/dds-pim/PubSubReader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1951,9 +1951,10 @@ class PubSubReader

postprocess_sample(*data, info);

// Delete the free-storage allocated data sample
type_.delete_data(data);
}

// Delete the free-storage allocated data sample
type_.delete_data(data);
}

void receive_samples(
Expand Down

0 comments on commit 91d1997

Please sign in to comment.