mdb: Propagate a value gotten from realloc()
authorJan Ekström <jan.ekstrom@intel.com>
Tue, 8 Jul 2014 11:11:18 +0000 (14:11 +0300)
committerJan Ekström <jan.ekstrom@intel.com>
Tue, 15 Jul 2014 11:17:33 +0000 (14:17 +0300)
commitd2fc8dc7015272dc99a7204b42da4bdd0d5b6a07
tree81014c23ab1baa25c0c0edfe29832434c97c8b3f
parent47d0307dd1cd64d733a54f0db4bf5eb8eca6a713
mdb: Propagate a value gotten from realloc()

Neither ISO C, POSIX or GNU libc seem to guarantee that the pointer
stays the same with size being smaller than the current size. Thus
we need to propagate the pointer, even if it in many cases ends up
being the same one.
src/murphy-db/mdb/handle.c