aboutsummaryrefslogtreecommitdiff
path: root/src/navigator.h
diff options
context:
space:
mode:
authorDmitrij D. Czarkoff <czarkoff@gmail.com>2015-12-28 11:07:41 +0100
committerDmitrij D. Czarkoff <czarkoff@gmail.com>2015-12-28 11:07:41 +0100
commitd0b041f17c34fc36fc8121cfe23e2da2b79cf4fa (patch)
tree84427dabd132f588f0d0d9888a8b272f086e35ab /src/navigator.h
parentf4373a1f831355e0a7eb7b33b373c14d5fc05926 (diff)
downloadimv-d0b041f17c34fc36fc8121cfe23e2da2b79cf4fa.tar.gz
Use realloc(3) for extending buffer
It may save some CPU cycles if there is enough space to grow the array without copying memory chunks. Two side effects of the change: proper error checking added and dangerous memcpy(3) call removed.
Diffstat (limited to 'src/navigator.h')
0 files changed, 0 insertions, 0 deletions