One last null pointer deref slipped through ;)
This commit is contained in:
		
							parent
							
								
									fe557bca1d
								
							
						
					
					
						commit
						e903d8cb0f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -725,6 +725,7 @@ void Window::setContents(Bitmap *value)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	GUARD_DISPOSED;
 | 
						GUARD_DISPOSED;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (value)
 | 
				
			||||||
		value->ensureNonMega();
 | 
							value->ensureNonMega();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	p->contents = value;
 | 
						p->contents = value;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue