Fixed crash bug with freeing marker objects
parent
7cea77f65b
commit
0b3ef68f48
|
@ -3009,7 +3009,9 @@ DOC(Permanently frees the specified object. Not only does this free up the memo
|
|||
if (*type == ManagedObjectType_Markers){
|
||||
Managed_Buffer_Markers_Header *header = (Managed_Buffer_Markers_Header*)object_ptr;
|
||||
workspace->total_marker_count -= header->std_header.count;
|
||||
if (header->visual_count > 0´){
|
||||
marker_visual_free_chain(&workspace->visual_allocator, header->visual_first, header->visual_last, header->visual_count);
|
||||
}
|
||||
zdll_remove(workspace->buffer_markers_list.first, workspace->buffer_markers_list.last, header);
|
||||
workspace->buffer_markers_list.count -= 1;
|
||||
}
|
||||
|
|
2
todo.txt
2
todo.txt
|
@ -10,13 +10,13 @@
|
|||
|
||||
Bugs
|
||||
{
|
||||
[x] Crash when freeing marker object without visuals
|
||||
[] High CPU usage in listers
|
||||
[] Panel resizing doesn't work
|
||||
[] Notepad like mode clicking to new view doesn't snap the mark
|
||||
[] Notepad like mode replacing text with cursor at end of selection in middle of long file
|
||||
[] Tab when no valid completions in open file lister
|
||||
[] Graphics problem (fonts not rendering)
|
||||
[] Crash when freeing marker object without visuals
|
||||
[] Texture binding changes too often problem.
|
||||
[] SSHFS segfault on linux
|
||||
Repro Needed
|
||||
|
|
Loading…
Reference in New Issue