Whenever `grow_array` in `blender/source/blender/blenkernel/intern/grease_pencil.cc` was called, it would not free the original array after relocating the data to the newly allocated memory. This fixes the memory leak.
Whenever `grow_array` in `blender/source/blender/blenkernel/intern/grease_pencil.cc` was called, it would not free the original array after relocating the data to the newly allocated memory. This fixes the memory leak.