Free list of attributes in list response

The attributes in the list reply is always scanned, but the resulting
array if there is one is not properly deallocated. Deallocate the memory
if it's not null. We don't parse the actual attributes yet but we still
have to parse the list in order to parse the rest of the response.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>