fix memory leaks, and reference of uninitialized value

This commit is contained in:
2022-08-28 19:45:12 +09:00
parent feb481f00f
commit 6a4ddb1642
6 changed files with 12 additions and 9 deletions

View File

@@ -170,7 +170,7 @@ struct Timeline {
// volatile params
enum {kRoot, kHeader, kBody, kItem} frame_state_ = kRoot;
uint64_t len_;
uint64_t len_ = 0;
ImVec2 scroll_size_;
bool scroll_x_to_mouse_;
bool scroll_y_to_mouse_;