You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
-Fixes from source code analyzizer, closes #1768
This commit is contained in:
@@ -153,7 +153,7 @@ void* MemoryPoolStaticMalloc::_realloc(void *p_memory,size_t p_bytes) {
|
||||
return alloc( p_bytes );
|
||||
}
|
||||
|
||||
if (p_bytes<=0) {
|
||||
if (p_bytes==0) {
|
||||
|
||||
this->free(p_memory);
|
||||
ERR_FAIL_COND_V( p_bytes < 0 , NULL );
|
||||
|
||||
Reference in New Issue
Block a user