[lxc-devel] [PATCH] Fix reallocation calculation

Christian Brauner christianvanbrauner at gmail.com
Mon Sep 21 07:53:42 UTC 2015


I'm pretty sure this is supposed to be

        realloc(key, (keys + 1) * sizeof(key[0]));

instead of

        realloc(key, keys+1 * sizeof(key[0]));

Christian Brauner (1):
  Fix reallocation calculation

 src/lxc/lxc_info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.5.3



More information about the lxc-devel mailing list