Ver Fonte

* heap manager: do not try to leave critical section twice, moron

git-svn-id: trunk@7763 -
micha há 18 anos atrás
pai
commit
787f9a44c7
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      rtl/inc/heap.inc

+ 0 - 1
rtl/inc/heap.inc

@@ -1503,7 +1503,6 @@ begin
           orphaned_freelists.oslist_all^.prev_any := poc;
           orphaned_freelists.oslist_all^.prev_any := poc;
         orphaned_freelists.oslist_all := loc_freelists^.oslist_all;
         orphaned_freelists.oslist_all := loc_freelists^.oslist_all;
       end;
       end;
-      leavecriticalsection(heap_lock);
     end;
     end;
     leavecriticalsection(heap_lock);
     leavecriticalsection(heap_lock);
     if main_relo_freelists = loc_freelists then
     if main_relo_freelists = loc_freelists then