realloc doesn't free the original buffer when the reallocation failed. An abort of read_file without free'ing the buffer would leak it.
Signed-off-by: Sven Eckelmann sven@narfation.org
The whole series has been applied with two minor fixes: * fixed a typo: alfred-gpsd: Fix altitute verification check -> altitude * fixed sign of length calculation in alfred: Fix length check for push_data
Thanks! Simon