Skip to content

Commit 83efec5

Browse files
committed
place: solved valgrind memory leak
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent dcc5353 commit 83efec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/place/place.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2854,7 +2854,7 @@ int check_macro_placement_consistency() {
28542854

28552855
static t_physical_tile_type_ptr pick_highest_placement_priority_type(t_logical_block_type_ptr logical_block, int num_needed_types, int* free_locations) {
28562856
auto& device_ctx = g_vpr_ctx.device();
2857-
auto physical_tiles = device_ctx.physical_tile_types;
2857+
auto& physical_tiles = device_ctx.physical_tile_types;
28582858

28592859
// Loop through the ordered map to get tiles in a decreasing priority order
28602860
for (auto& physical_tiles_ids : logical_block->physical_tiles_priority) {

0 commit comments

Comments
 (0)