lv_realloc() function
Reallocate a memory with a new size. The old content will be kept.
Arguments
data_p
pointer to an allocated memory. Its content will be copied to the new memory block and freed
new_size
the desired new size in byte
Return value
pointer to the new memory, NULL on failure