Skip to content

Commit 5902c83

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vpr/src/draw/draw.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,8 @@ void free_draw_structs() {
862862
free(draw_state->draw_rr_node);
863863
draw_state->draw_rr_node = nullptr;
864864
}
865+
866+
draw_state->setup_timing_info.reset();
865867
#else
866868
;
867869
#endif /* NO_GRAPHICS */

0 commit comments

Comments
 (0)