[PATCH 1/2] Autofs: operate on contents of double-pointer, not address
This is a bad one, luckily the code is defensive later on and detects
that we have processed all the records and quits correctly.
[PATCH 2/2] Only free returned values on success
The pointers are set to NULL when the map is not found or the code
iterates over all the maps, but it is good manners to only free the data
when the caller is sure he received any.