Skip to content

Commit e9d6335

Browse files
committed
Release ref count on timing information when freeing draw state.
Signed-off-by: Keith Rothman <[email protected]>
1 parent 25e5df9 commit e9d6335

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vpr/src/draw/draw.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,10 @@ void free_draw_structs() {
861861
if (draw_state != nullptr) {
862862
free(draw_state->draw_rr_node);
863863
draw_state->draw_rr_node = nullptr;
864+
865+
draw_state->setup_timing_info.reset();
864866
}
867+
865868
#else
866869
;
867870
#endif /* NO_GRAPHICS */

0 commit comments

Comments
 (0)