fix use after free (#911)
This commit is contained in:
parent
20d29fd491
commit
61fa98065f
@ -694,7 +694,7 @@ fn createDocument(self: *DocumentStore, uri: Uri, text: [:0]u8, open: bool) erro
|
||||
handle.associated_build_file = gop.key_ptr.*;
|
||||
break;
|
||||
} else if (handle.associated_build_file == null) {
|
||||
handle.associated_build_file = build_file_uri;
|
||||
handle.associated_build_file = gop.key_ptr.*;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user