From: David Herrmann Date: Tue, 25 Feb 2014 11:20:25 +0000 (+0100) Subject: login: fix pos-array allocation X-Git-Tag: v211~215 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a1937e679f76758635d295287398abe526de2522;hp=a1937e679f76758635d295287398abe526de2522;p=elogind.git login: fix pos-array allocation GREEDY_REALLOC takes a pointer to the real size, not the array-width as argument. Therefore, our array is currently way to small to keep the seat positions. Introduce GREEDY_REALLOC0_T() as typed version of GREEDY_REALLOC and store the array-width instead of array-size. ---