mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 14:59:37 +01:00 
			
		
		
		
	* fixed ReturnNilIfGrowHeapFails
git-svn-id: trunk@5042 -
This commit is contained in:
		
							parent
							
								
									3ab2086999
								
							
						
					
					
						commit
						64b7f00afd
					
				@ -805,7 +805,10 @@ begin
 | 
				
			|||||||
        if poc=nil then
 | 
					        if poc=nil then
 | 
				
			||||||
          begin
 | 
					          begin
 | 
				
			||||||
            if ReturnNilIfGrowHeapFails then
 | 
					            if ReturnNilIfGrowHeapFails then
 | 
				
			||||||
              exit
 | 
					              begin
 | 
				
			||||||
 | 
					                result := nil;
 | 
				
			||||||
 | 
					                exit
 | 
				
			||||||
 | 
					              end
 | 
				
			||||||
            else
 | 
					            else
 | 
				
			||||||
              HandleError(203);
 | 
					              HandleError(203);
 | 
				
			||||||
          end;
 | 
					          end;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user