Merge pull request #611 from kwagyeman/kwabena/fb_alloc_all_fix

Fix fb_alloc_all bug.
This commit is contained in:
Ibrahim Abd Elkader 2019-10-16 13:13:14 +02:00 committed by GitHub
commit 12ee986ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,8 +170,8 @@ void *fb_alloc_all(uint32_t *size, int hints)
// Return overlay memory instead.
pointer_overlay -= *size;
result = pointer_overlay;
*new_pointer |= FB_OVERLAY_MEMORY_FLAG; // Add flag.
}
*new_pointer |= FB_OVERLAY_MEMORY_FLAG; // Add flag.
#endif
return result;
}